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 disable automount? I can't watch a movie from cd without annoying interrupts (probably it unmounts cd while I'm still watching) and when using a floppy there is a continuous activity on floppy (I think it umounts and mounts the floppy on a short interval).
I found this thread but I think I have automount, not supermount because I don't find anything with "apropos supermount". I have 2 /usr/sbin/automount processes running owned by root. If I kill them automount stops. Now how am I supposed to disable automount (besides chmod a-x /usr/sbin/automount) from atarting whenever I boot?
I'd say that my /etc/fstab is ok:
/dev/fd0 /mnt/floppy auto noauto,user,sync 0 0
/dev/dvd /mnt/dvd auto ro,noauto,user,exec 0 0
That damn automount must be set up somewhere else.
I don't know if cd is really unmounted, that is just my guess, because after I kill the processes with name "automount" movie playback from cd works ok.
Oh, and this is on Mepis (Debian based, although this automounting stuff looks more Knoppix-like to me), not SuSE.
however i'm sure it doesn't unmount busy drives (it can't!), maybe it keeps polling the drive. U may send a bug report to the mantainer of this package: "since /proc is much faster than removable media, shall automount check with lsof before phisically accessing a device?"
however i'm sure it doesn't unmount busy drives (it can't!)
True. That's why copying files from cd works ok, but during playback cd is not being read all the time, only from time to time. If the file is not kept open all the time, cd can be umounted.
I don't know if this is really a bug, probably I'm supposed to just increase the period of inactivity before unmounting, I believe that's set in /etc/auto.master, I have 4 seconds for cd and 2 secs for floppy. I'm used to manually unmount removables (it's just a right click on the desktop icon and select unmount or eject, no big deal) so I have no need for automount, just want to disable it.
Originally posted by zokik Would it be safe to chmod a-x /etc/init.d/autofs?
well, the wrost thing that may happen is getting an error message at boot time, i suppose. In any case, nothing that a chmod back can't fix
However, I still think a movie player does not close/reopen files wile playing, it makes no sense: do you close a book (loosing bookmark) whenever you make a 5secs break in reading? Even a mp3 file, which has much lower bitrate and could be kept all in ram, is kept open while playing.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.