Bruce Hill |
09-02-2005 05:51 AM |
You shouldn't have a scsi entry in /dev for the flash disk. It uses USB mass storage.
What does "dmesg" output for the flash disk? If similar:
Code:
usb 2-2: USB disconnect, address 2
hub 1-0:1.0: over-current change on port 2
usb 1-3: new high speed USB device using ehci_hcd and address 4
usb 2-2: new low speed USB device using ohci_hcd and address 3
input: USB HID v1.10 Mouse [Microsoft Microsoft Wireless Intellimouse Explorer® 1.0A] on usb-0000:00:13.0-2
SCSI subsystem initialized
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
ub: sizeof ub_scsi_cmd 68 ub_dev 2384 ub_lun 140
usbcore: registered new driver ub
Vendor: Generic Model: STORAGE DEVICE Rev: 1.25
Type: Direct-Access ANSI SCSI revision: 00
usb-storage: device scan complete
SCSI device sda: 512000 512-byte hdwr sectors (262 MB)
sda: Write Protect is off
sda: Mode Sense: 02 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 512000 512-byte hdwr sectors (262 MB)
sda: Write Protect is off
sda: Mode Sense: 02 00 00 00
sda: assuming drive cache: write through
sda: sda1
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
then you only need to mount it, and it's given you the device name. Note that I have:
/dev/sda1 /mnt/hd vfat noauto,users,rw,umask=1000 0 0
in my /etc/fstab file.
Code:
mingdao@titus:~$ mount /mnt/hd
mingdao@titus:~$ ls -alh /mnt/hd
total 80M
drwxrwxrwx 2 mingdao users 2.0K 1970-01-01 07:00 ./
drwxr-xr-x 5 root root 120 2002-03-16 15:34 ../
-rwxrwxrwx 1 mingdao users 77M 2005-08-25 23:38 OOo_1.1.4_LinuxIntel_install.tar.gz*
-rwxrwxrwx 1 mingdao users 1.2K 2005-08-31 13:27 ifconfig*
-rwxrwxrwx 1 mingdao users 3.4M 2005-08-25 23:32 k3b-0.11.23-i486-1.tgz*
-rwxrwxrwx 1 mingdao users 3.4K 2005-08-31 13:26 rc.inet1.conf*
-rwxrwxrwx 1 mingdao users 28 2005-08-31 11:25 resolv.conf*
-rwxrwxrwx 1 mingdao users 177 2005-08-31 13:26 route*
You must setup the mount point and have proper permissions.
If you don't have similar output in dmesg, then you probably need
USB mass storage compiled into your kernel.
If this didn't help you, please post your dmesg output, and the output
of "cat build/linux-2.6.12.5/.config | grep USB" where build/linux-2.6.12.5/.config
points to your kernel config file.
|