how to stop mandrake/kde from automounting nonexistent removable devices at startup?
MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
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 to stop mandrake/kde from automounting nonexistent removable devices at startup?
I believe that mandrake/kde's habit of allowing users to un/mount devices windows style, ie. without having to explicitly un/mount them is causing my system to freeze (the desktop is showing the usb port devices as mounted, even when there is nothing in the usb ports). Is there a way I can force mandrake to force me to mount and unmount these devices explicitly?
thank in advance,
doug
ps. at least I hope that this is what the problem is. I also notice during the boot sequence I see the message: checking for new hardware [FAILED]
when opening fstab in vim as root, I receive this message before the file is displayed:
"fstab" 11L, 809C
E576: viminfo: Missing '>' in line: :^@
I don't know if this affects anything, but it certainly makes me nervous.
Anyhoo, I have altered the relevant line in fstab to none /mnt/removable2 noauto dev=/dev/scsi/host0/bus0/target0/lun0/part1,fs=ext2:vfat,--,umask=0,iocharset=iso8859-15,kudzu,codepage=850 0 0
it originally read: none /mnt/removable2 supermount dev=/dev/scsi/host1/bus0/target0/lun0/part1,fs=ext2:vfat,--,umask=0,iocharset=iso8859-15,kudzu,codepage=850 0 0
Anyhoo, I have altered the relevant line in fstab to none /mnt/removable2 noauto dev=/dev/scsi/host0/bus0/target0/lun0/part1,fs=ext2:vfat,--,umask=0,iocharset=iso8859-15,kudzu,codepage=850 0 0
it originally read: none /mnt/removable2 supermount dev=/dev/scsi/host1/bus0/target0/lun0/part1,fs=ext2:vfat,--,umask=0,iocharset=iso8859-15,kudzu,codepage=850 0 0
Will this have the desired effect?
Probably not.
If this device is a USB memory stick, and you want to mount and unmount it yourself explicitly, you first want to turn off supermount for the device. You should be able to do that somewhere in the Mandrake Control Center. Otherwise create an entry for the device in your fstab that looks something like this:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.