LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-17-2005, 04:24 PM   #1
walterbyrd
Member
 
Registered: Apr 2004
Posts: 668

Rep: Reputation: 45
how do I find external usb hdd?


I think it's in /proc/bus/usb, but where?

Within /proc/bus/usb, there is 001, 002, 003, 004, 005, and devices.

Within the 001, 002, etc. There are files, also named 001, 002, etc. but no directories.

Will debian find a hot pluged usb device?

I'm using debian 3.1 unstable.
 
Old 07-17-2005, 04:42 PM   #2
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 47
Try dmesg
 
Old 07-17-2005, 05:03 PM   #3
walterbyrd
Member
 
Registered: Apr 2004
Posts: 668

Original Poster
Rep: Reputation: 45
Thanks, I guess that's some help. But, I still don't see exactly where the USB device is.
 
Old 07-17-2005, 05:16 PM   #4
walterbyrd
Member
 
Registered: Apr 2004
Posts: 668

Original Poster
Rep: Reputation: 45
The following, I suppose, is the relevant part of dmesg. It seems that the device was detected, but I have no idea how to access the device.

There is no: /dev/scsi/host0/bus0/target0/lun0 directory. In fact, there is not even a /dev/scsi directory. There are tons of /dev/sda?? directories, but no /dev/sda0.

------------------------------

usb 5-5: new high speed USB device using address 2
SCSI subsystem initialized
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: IC35L080 Model: AVVA07-0 Rev: VA4O
Type: Direct-Access ANSI SCSI revision: 02
USB Mass Storage device found at 2
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
SCSI device sda: 160836480 512-byte hdwr sectors (82348 MB)
sda: assuming drive cache: write through
/dev/scsi/host0/bus0/target0/lun0: p1
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
 
Old 07-18-2005, 02:45 AM   #5
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 47
Quote:
SCSI device sda: 160836480 512-byte hdwr sectors (82348 MB)
sda: assuming drive cache: write through
The USB hdd is /dev/sda. The first partition is /dev/sda1. If you have any other partitions, they'll be sda2, sda3, etc.
 
Old 07-21-2005, 10:28 PM   #6
walterbyrd
Member
 
Registered: Apr 2004
Posts: 668

Original Poster
Rep: Reputation: 45
It worked. Thank you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting an USB external HDD xiongnu Mandriva 1 12-12-2004 08:11 PM
usb 2.0 external hdd drum2jc Linux - Hardware 0 12-07-2004 03:14 AM
where to find instructions for installing linux on an external hdd linbie Linux - General 2 08-17-2004 05:20 PM
USB external HDD yhus Linux - Hardware 1 06-07-2004 05:18 AM
External HDD USB SamothB Linux - Hardware 13 10-10-2003 04:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration