how do I find out device names for mounting
I have a sony picturebook with a memory stick, I also have a USB memory stick reader.
I can mount the mem stick reader as /dev/sda1 however I couldn't figure out what device it was - I tried /dev/sda1 by chance and it worked.
The Red Hat (ver 9.0) hardware browser doesn't list the USB reader at all - it does list the mem stick under floppy drives as a 'Sony MSC-U01' as follows:
- manufacturer: unknown
- driver: none or built in
- device: /dev/sdb
The only data listed under USB devices is as folows:
82371AB/EB/MB PIX4 USB
Is there a reliable command that I can run to figure out which devices to use when I want to mount a USB , Firewire, etc device?
When ever I'm plugging in a memory stick of any type, I first run at the command prompt
tail -f /var/log/messages
That gives you a dynamic reading of the last 10 lines in the log file. Then plug the memory stick in and you will see it probe the new device and give you an output similar to this........
Dec 12 06:37:24 CHAPSD kernel: Vendor: USB Model: Flash Drive Rev: 1.11
Dec 12 06:37:24 CHAPSD kernel: Type: Direct-Access ANSI SCSI revision: 02
Dec 12 06:37:24 CHAPSD kernel: USB Mass Storage support registered.
Dec 12 06:37:24 CHAPSD kernel: Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
Dec 12 06:37:24 CHAPSD kernel: SCSI device sda: 253949 512-byte hdwr sectors (130 MB)
Dec 12 06:37:24 CHAPSD kernel: sda: Write Protect is off
Dec 12 06:37:24 CHAPSD kernel: sda: sda1 sda2 sda3 sda4
As you can see there at the bottom it is telling me sda is the device : )
|All times are GMT -5. The time now is 03:22 PM.|