hello all, does anyone know how to disable auto-mounting of removable media (e.g., USB flash drives, USB external hard drives, etc) in Mandrake 10?
I just trashed my USB flash drive (losing a lot of subversion history, i'll be able to recover some of that since i have some backups, and siempre i have the latest versions). This happened because I used the USB flash drive on an LTSP box that automatically mounted the drive when it was inserted. It also seemed to push the mount before last fsck counts up to very high values (not sure why, but maybe something to do with minimizing problems if the drive were to be removed at any random time without umounting, maybe it was mounting/umounting the drive a lot). anyway, when i mounted the drive manually on another box (a regular linux box, not LTSP), it whined about needing to be fscked. so i unmounted it and ran fsck on it. there were *lots* of errors. i thought that was because of the LTSP high mount count issue. unfortunately, it was actually because mandrake automatically mounts USB flash drives and i haven't yet figured out how to disable that. so what i was really doing when i did fsck /dev/sda1 was fsck-ing a *mounted* drive. mandrake had automatically supermounted it at /mnt/removable. i also had my brain on hold, so whenever it asked me if i really wanted to fix something i said Y. now, i want to solve the problem for once and for all by totally removing automount from mandrake so that i don't get that problem again. i've always hated automount anyway since it just doesn't work very well (it was broken for a long time in mandrake, and there are problems with media which are rw and easily removable, particularly with the default bdflush interval of 30s). i know that there are hacks (i could, for instance, remove supermount from my kernel), but i'd like to solve this in a canonical way. sorry for the rant and saga. thanks for any pointers :). tiger -- Gerald Timothy Quimpo http://bopolissimus.blogspot.com [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] Public Key: "gpg --keyserver pgp.mit.edu --recv-keys 672F4C78" Mene sakhet ur-seveh -- Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
