Hi. On Wed, Feb 03, 2010 at 11:22:48PM +1030, Arthur Marsh wrote: > > I have a few USB flash drives with known UUID's (although if you don't know > to use the blkid command it can be difficult to find the UUID), and > sometimes they are already in the machine on boot up, and sometimes they > are absent and might be plugged in after the machine has booted. > > If I put an entry in /etc/fstab, I can specify the mount point, but if > I specify that fsck be run on the USB drive by a non-zero value in the > last column of /etc/fstab, fsck returns an error if the USB drive is absent, > and the boot process stops. > > I would like to be able to get the USB flash drive mounted after an fsck > if the drive is present at start-up, and mounted with an optional fsck > if the drive is plugged in after the machine has finished booting. > > Could usbmount do this in a future version? >
I tend to believe that the patch provided in #321694 could easily be adapted so as to use the UUID and/or the partition label in order to define the mount point instead of fixed usbN dirs. Hope this helps. Best regards, -- Olivier BERGER (OpenPGP: 1024D/B4C5F37F) http://www.olivierberger.com/weblog/ -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

