USB key mounted or not ?

Vincent Arnoux vincent.arnoux at rfo.atmel.com
Wed Jan 19 09:24:53 UTC 2005


Hello,
I am running Fedora Core 3, 2.6.10-1.741_FC3.
I have a USB key that I can mount without trouble by typing :
mount -o 
noauto,user,exec,dev,suid,rw,conv=auto,uid=500,gid=500,umask=000 
/dev/sda1 /mnt/k/

But my problem is that automatic mount is not working. When I plug the 
key in nothing happens, but if I look at /var/log/messages, it looks to 
be OK :
Jan 18 19:53:23 pc0936 kernel: usb 1-2.4: new high speed USB device 
using ehci_hcd and address 3
Jan 18 19:53:27 pc0936 kernel: SCSI subsystem initialized
Jan 18 19:53:27 pc0936 kernel: Initializing USB Mass Storage driver...
Jan 18 19:53:27 pc0936 kernel: scsi0 : SCSI emulation for USB Mass 
Storage devices
Jan 18 19:53:27 pc0936 kernel: usbcore: registered new driver usb-storage
Jan 18 19:53:27 pc0936 kernel: USB Mass Storage support registered.
Jan 18 19:53:32 pc0936 kernel:   Vendor:           Model: USB DISK 
Pro      Rev: PMAP
Jan 18 19:53:32 pc0936 kernel:   Type:   
Direct-Access                      ANSI SCSI revision: 00
Jan 18 19:53:32 pc0936 scsi.agent[12372]: disk at 
/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2.4/1-2.4:1.0/host0/target0:0:0/0:0:0:0 

Jan 18 19:53:33 pc0936 kernel: SCSI device sda: 484352 512-byte hdwr 
sectors (248 MB)
Jan 18 19:53:33 pc0936 kernel: sda: Write Protect is off
Jan 18 19:53:33 pc0936 kernel: sda: assuming drive cache: write through
Jan 18 19:53:33 pc0936 kernel: SCSI device sda: 484352 512-byte hdwr 
sectors (248 MB)
Jan 18 19:53:33 pc0936 kernel: sda: Write Protect is off
Jan 18 19:53:33 pc0936 kernel: sda: assuming drive cache: write through
Jan 18 19:53:33 pc0936 kernel:  sda: sda1
Jan 18 19:53:33 pc0936 kernel: Attached scsi removable disk sda at 
scsi0, channel 0, id 0, lun 0
Jan 18 19:53:34 pc0936 fstab-sync[12450]: added mount point 
/media/USBDISKPRO for /dev/sda1

------------------------------------------------------------------------
But it's not mounted. If I type "mount" :
/dev/hda5 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)
none on /dev/shm type tmpfs (rw)
/dev/hda7 on /home type ext3 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/dev/hda1 on /mnt/windows type vfat 
(rw,conv=auto,uid=500,gid=500,umask=000)

Directory /media/USBDISKPRO is empty (key has data). I can access it 
smoothly if I do a manual mount.

Does anybody have an idea ?

Regards,
Vincent




More information about the users mailing list