Thank you to both Stephen J Gowdy and Alan Stern for replying to my query. Stephen suggested editing fstab to use labels for the two drives concerned. Alan referred to the alternative of a udev rule.
I think I should supplement what I wrote at first by mentioning that both USB drives, the flash drive and the hard drive, have the vfat filesystem type (chosen by me so that the drives could be shared between Linux and Windows). In full, the two relevant lines in fstab are as follows: /dev/sdb1 /media/usbdisk vfat pamconsole,exec,noauto,iocharset=utf8,noatime,sync,managed 0 0 /dev/sda1 /media/usbdisk1 vfat pamconsole,exec,noauto,iocharset=utf8,managed 0 0 sdb1 is the USB flash drive and sda1 is the USB hard drive. I looked at the man page for fstab and it seemed to say that one could only use labels on devices with filesystems of type ext2 or xfs. However, that man page was dated 15 June 1999 and applied to kernel version 2.2. Have things now changed so as to permit the use of labels for devices with the vfat filesystem? If not, then I'd either have to try to create an appropriate udev rule or else be sure always have both drives plugged in on boot-up. At least I have some confidence that I could manage the second of those two possibilities! Send instant messages to your online friends http://au.messenger.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
