You are not logged in.
Pages: 1
Hey,
When I boot my computer I see that my other hard drive get mounted automatically. How do I stop this HDD from being auto mounted?
Thanks
Offline
Edit your /etc/fstab, and add noauto to the "<options>" column of whatever drives you don't want mounted automatically.
Offline
Tried it, and failed. I have never done this before so im new to this.
The drive is a NTFS drive that when mounted shows "fuseblk" as the type. Its auto mounted with HAL so theres no fstab entry for it. What would the entry look like?
Offline
http://wiki.archlinux.org/index.php/HAL might help
Offline
@FLCLFan:
Try something like:
/dev/sdb1 /media/usb_drive ntfs-3g noauto,rw,users 0 0
where /dev/sdb1 is the path to the partition (you can get this by typing mount at the CLI, and it'll show you the device path), /media/usb_drive is the path to mount point, and rw,users are the other options you might want (assuming you want to write to the drive, and for your normal user to mount/unmount it).
Offline
When I boot my computer I see that my other hard drive get mounted automatically. How do I stop this HDD from being auto mounted?
Assuming you run gnome, this isn't the first time this is covered;
http://bbs.archlinux.org/viewtopic.php?id=55876
EDIT: you need to supply more info when posting a topic such as this. It's easier to help when we know the variables involved.
Last edited by pelle.k (2008-10-08 17:45:29)
"Your beliefs can be like fences that surround you.
You must first see them or you will not even realize that you are not free, simply because you will not see beyond the fences.
They will represent the boundaries of your experience."
SETH / Jane Roberts
Offline
Well, arch never did automount partitions for me, other than those i specifically set up in /etc/fstab. What i think they are trying to tell you (hard to know since you didn't provide enough information), is that gnome-volume-manager is mounting those partitions during *login*.
If so, there's an easy way around that. Create /etc/hal/fdi/policy/preferences.fdi and in that file, paste this;<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- --> <deviceinfo version="0.2"> <!-- The following shows how to hint gnome-volume-manager and other programs that honor the storage.automount_enabled_hint to not mount non-removable media. --> <device> <match key="storage.hotpluggable" bool="false"> <match key="storage.removable" bool="false"> <merge key="storage.automount_enabled_hint" type="bool">false</merge> </match> </match> </device> </deviceinfo>
Reboot (or restart services). Did that help?
http://wiki.archlinux.org/index.php/HAL … able_media
That fixed my problem
Thanks for the link!
Offline
Pages: 1