Using Fedora Core 2
I've created a new file /etc/updfstab.conf.local and added the required entries
for my usb pendrive and included it in /etc/updfstab and now my TinyDisk
pendrive mounts on /mnt/flash automagically (which is created as required) when
you plug it in. Only irk with that is I can't control the mount options very
well, i.e. I can't set it up so that the options noatime and users so that
1) access times are not written which use up the finite number of writes that
flash has (no point in wasting them)
2) so that if one user mounts this on the selected machine when another user
comes along they can umount it. I don't really think it should be necessary to
su when someone forgets to remove their pendrive in order to unmount it.
Because of the way updfstab works, any alterations to the mount options
in /etc/fstab will be deleted when updfstab deletes the mount entry when the
usb device is unpluged.
Anyone know if there is any way to control the mount options the updfstab
creates for different devices (I can't find any), or if there is another way
around the problem.
"Nothing's foolproof to a sufficently talented fool"
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!