LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] USB Pendrive irks

[ILUG] USB Pendrive irks

Darragh Bailey felix at compsoc.nuigalway.ie
Wed Sep 22 13:40:54 IST 2004



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.

-- 
Darragh

"Nothing's foolproof to a sufficently talented fool"



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell