Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
Isn't there, as an entry in fstab? Yes, that is a bit strange.
The automount daemon controls which devices are mounted automatically and this daemon is run by autofs. you can disable the service safely I think for your runlevel (google this) to stop it mounting devices automatically, or you can hack the configuration file for the automount daemon (/etc/auto.misc).
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Rep:
Before you do that try
Code:
/etc/init.d/autofs status
and also (gives in some distros more information)
/etc/init.d/autofs stop
/etc/init.d/autofs start
That will show whether autofs is used at all and at which mount points. An entry in /etc/fstab should override autofs...
<edit> No, it doesn't. /etc/fstab needs existing directories as mount points, autofs creates it's own mount points the moment it mounts a medium at request of the user and later after umounting it also deletes them...</edit>
You must be trying with your USB device. For passing on any parameters you should be login as root. If you have the entry of your in your /etc/fstab file then a normal user can also mount it. Make an entry similar to this in your fstab
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.