[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mounting USB pen under 2.6



michael wrote:
I've had a look around but can't see how to mount my USB pen under 2.6
(stable). I've just upgraded from 2.4 where I had a line in /etc/fstab
	/dev/sda1    /usbkey     vfat   users,noauto        0       0
but under 2.6 my first SATA drive in now /dev/sda1 so I'm confused what
I should replace the about line with.

I see from SYSLOG that when I plug the USB pen into the slot:

Apr  5 13:31:29 ratty kernel: usb 2-1: new full speed USB device using
address 2Apr  5 13:31:30 ratty kernel: Initializing USB Mass Storage
driver...
Apr  5 13:31:30 ratty kernel: scsi2 : SCSI emulation for USB Mass
Storage devices
Apr  5 13:31:30 ratty kernel:   Vendor: SigmaTel  Model: MSCN
Rev:
0100
Apr  5 13:31:30 ratty kernel:   Type:   Direct-Access
ANSI
SCSI revision: 02
Apr  5 13:31:30 ratty kernel: SCSI device sdc: 505856 512-byte hdwr
sectors (259 MB)
Apr  5 13:31:30 ratty kernel: sdc: assuming Write Enabled
Apr  5 13:31:30 ratty kernel: sdc: assuming drive cache: write through
Apr  5 13:31:30 ratty kernel:  /dev/scsi/host2/bus0/target0/lun0: p1
Apr  5 13:31:30 ratty kernel: Attached scsi removable disk sdc at scsi2,
channel 0, id 0, lun 0
Apr  5 13:31:30 ratty usb.agent[21101]:      usb-storage: loaded
successfully
Apr  5 13:31:30 ratty kernel: USB Mass Storage device found at 2
Apr  5 13:31:30 ratty kernel: usbcore: registered new driver usb-storage
Apr  5 13:31:30 ratty kernel: USB Mass Storage support registered.
Apr  5 13:31:31 ratty scsi.agent[21141]:      sd_mod: loaded sucessfully
(for disk)

but trying to mount sdc doesn't work:

michael@ratty:~$ sudo mount -t vfat /dev/sdc /usbkey mount: wrong fs
type, bad option, bad superblock on /dev/sdc,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

michael@ratty:~$ sudo mount -t usbfs /dev/sdc /usbkey
michael@ratty:~$ ls /usbkey
001/  002/  003/  devices
michael@ratty:~$


what am i forgetting here? thanks, M

try /dev/sdc1




Reply to: