Automatic mounting of USB drives...

John Burton j.c.burton at gats-inc.com
Thu Oct 28 18:48:18 UTC 2004


Greetings!

First off, FC3-RC1 (yum updated 10/28/04) looks pretty good so far. A
couple of minor glitches, but nothing too bad. On problem I'm having &
don't know quite how to proceed... 

I have a 1.5GB USB drive (looks like an old cigarette lighter). It has 2
partitions, both formatted as VFAT - have to communicate with Windows
systems. The partitions were created under WindowsXP and have the labels
"Common" & Backup" I plug it in to a USB port and it's recognized:


> Oct 28 14:04:35 traveler kernel: usb 1-5: new high speed USB device using address 3
> Oct 28 14:04:36 traveler kernel: SCSI subsystem initialized
> Oct 28 14:04:36 traveler kernel: Initializing USB Mass Storage driver...
> Oct 28 14:04:36 traveler kernel: scsi0 : SCSI emulation for USB Mass Storage devices
> Oct 28 14:04:36 traveler kernel:   Vendor: TOSHIBA   Model: MK6021GAS         Rev: GA02
> Oct 28 14:04:37 traveler kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02
> Oct 28 14:04:37 traveler kernel: usbcore: registered new driver usb-storage
> Oct 28 14:04:37 traveler kernel: USB Mass Storage support registered.
> Oct 28 14:04:37 traveler scsi.agent[3950]: disk at /devices/pci0000:00/0000:00:1d.7/usb1/1-5/1-5:1.0/host0/0:0:0:0
> Oct 28 14:04:37 traveler kernel: SCSI device sda: 117210240 512-byte hdwr sectors (60012 MB)
> Oct 28 14:04:37 traveler kernel: sda: assuming drive cache: write through
> Oct 28 14:04:37 traveler udev[3998]: creating device node '/dev/sda'
> Oct 28 14:04:37 traveler 05-pam_console.dev[3999]: Restoring console permissions for /dev/sda
> Oct 28 14:04:37 traveler kernel:  sda: sda1 sda2
> Oct 28 14:04:38 traveler kernel: Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
> Oct 28 14:04:38 traveler udev[4014]: creating device node '/dev/sda1'
> Oct 28 14:04:38 traveler udev[4021]: creating device node '/dev/sda2'

Then it creates two mount points 


> Oct 28 14:04:38 traveler fstab-sync[4039]: added mount point /media/COMMON for /dev/sda1
> Oct 28 14:04:38 traveler fstab-sync[4043]: added mount point /media/BACKUP for /dev/sda2
> 

But it does not mount them. I can manually mount them by doing a
"mount /dev/sda1 /media/COMMON". 

Now, the question. What do I have to do to have the USB drive/partitions
mounted automatically?

Thoughts? Suggestions?

John




More information about the fedora-test-list mailing list