Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How do I allow a user to access the floppy and Cdrom drives without having to input a Root password?? Its really a hassle to keep switching back and forth between the user and root. Thanks
umm ADZ...
I have a similar problem.
I have to re-update fstab everytime i reboot, also have to add directories to /mnt. is there a way I can "automount" at boot?
Also, just what do you mean by:
>Yes. Just add "auto" into the options field for those partitions/shares you want to have mounted on boot.
do you mean in fstab?
Yes put it in fstab in the options field. The fields are (from left to right):
<File System> <Mount Point> <Type> <Options> <Dump> <Pass>
Quote:
What exactly do you mean by that? Are you saying it gets overwritten at boot time?
YES, it did it in RH7.2 and MDK9.2 & MDK7 as well!!!
Could you post your fstab as you would like it? Then reboot and post your fstab as it is when it is supposedly overwritten. We'll what differences there are.
BajaNick: You were meant to specify the "users" option not the "auto" option. That option allows non root users to mount and unmount (dismount?) that device. CD drives and floppies are meant to have the "noauto" option enabled as you don't want them mounted at boot time - you want then mounted whenever you say so.
Dondon: You are meant to specify the "auto" option. This will mount your device/parition/share automatically at boot time.
Are there actually any /mnt/drvc and /mnt/extra directories? If it's getting overrwrittenen then all I can think of is that the mount point doesn't exist. It's highly irregular for that to happen, though. If this keeps happening, then post that problem in the fedora forum.
yes, I create those two directories in /mnt (or else it doesn't work)
the it works fine, but whe i reboot.... they're gone. not only in fedora, in all the ones I listed before.
So the directories themselves stay there but the fstab entries get sent to oblivion? Well there's the obvious one, make doubly sure you've saved the file (and you're root). Then BEFORE you reboot, test it out. Type mount <mount point> to make sure the system is actually reading the fstab entry and the mount options are correct.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.