Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New HAL mounts partitions it shouldn't
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
sgarcia
Apprentice
Apprentice


Joined: 21 May 2003
Posts: 254
Location: Bakersfield, CA

PostPosted: Sat Jun 16, 2007 6:10 pm    Post subject: New HAL mounts partitions it shouldn't Reply with quote

Is there a way to specify a configuration for HAL? The latest version (sys-apps/hal-0.5.9-r1) appears to detect *all* the partitions on my disk and automatically mounts the ones that aren't in fstab.

If I had wanted Windows partitions to be mounted at boot (or ever) I'd have put them into fstab. This is annoying, and it causes the disk mounter applet to take up an enormous portion of my top panel. The disk mounter applet has always been useful, but now it's out of control. It even has an icon for the /boot partition, which it has always been Gentoo policy *not* to mount.

I just want to be able to tell HAL what it can automatically mount. Or more importantly, what it *can't* mount. Is there a way?

Also, is there a way to control the disk mounter applet?
Back to top
View user's profile Send private message
Aszrael
Tux's lil' helper
Tux's lil' helper


Joined: 15 Feb 2005
Posts: 101
Location: Hannover/Germany

PostPosted: Sat Jun 16, 2007 8:42 pm    Post subject: Reply with quote

same here
it even shows "/dev/sda3" which is my root-device as mountable
Back to top
View user's profile Send private message
shockertwin
Apprentice
Apprentice


Joined: 16 Dec 2005
Posts: 151

PostPosted: Sun Jun 17, 2007 9:12 pm    Post subject: Reply with quote

Mine mounts EVERYTHING!!! and its extremely ammoying. Its filling up my desktop with stupid icons everywhere :(

There is seriously NOTHING, NOWHERE. There seems to be absolutely NO way to stop this. Apparently HAL now doesnt care about whats in fstab before it mounts. even my gentoo partitions are being mounted by hald. Why is this happening? :(
Back to top
View user's profile Send private message
shockertwin
Apprentice
Apprentice


Joined: 16 Dec 2005
Posts: 151

PostPosted: Sun Jun 17, 2007 10:27 pm    Post subject: Reply with quote

Actually i was able to stop them from mounting by adding the following lines to my /etc/fstab

/dev/sdb1 none none noauto 0 0
/dev/sdb3 none none noauto 0 0
/dev/sda1 none none noauto 0 0


Not exactly a perfect fix. The entries still show up in computer:///, though they are unmountable. There is also an icon in computer:/// for my 64 bit gentoo boot partition as well (There are two of them, one for my 32 bit, and one for my 64 bit)/ I would really like to find a better fix than this though.
Back to top
View user's profile Send private message
sgarcia
Apprentice
Apprentice


Joined: 21 May 2003
Posts: 254
Location: Bakersfield, CA

PostPosted: Tue Jun 19, 2007 4:06 am    Post subject: Reply with quote

I managed to prevent them from mounting by deleting their mount point. I mount all my removable media in /mnt (as God intended) and HAL wants to mount them under /media. I just removed the /media directory and they don't automount anymore.

However, they do still fill up my task bar with icons. Grrr.
Back to top
View user's profile Send private message
mambro
l33t
l33t


Joined: 22 Mar 2004
Posts: 752
Location: Mira (VE) - Italy

PostPosted: Tue Jun 19, 2007 10:07 am    Post subject: Reply with quote

Same problem here.. and it doesn't mount automatically my usb key.. 8O
_________________
"The design of a worldwide, fully transparent distributed file system for simultaneous use by millions of mobile and frequently disconnected users is left as an excercise for the reader".
Andrew S. Tanenbaum, Distributed Operating Systems.
Back to top
View user's profile Send private message
Dirk.R.Gently
Guru
Guru


Joined: 29 Jan 2007
Posts: 546
Location: Titan

PostPosted: Tue Jun 19, 2007 5:28 pm    Post subject: Reply with quote

I'm not sure if this is at all related but I had my settings set to "auto" in the fstab - gnome-volume-manager never put it on the desktop. If I cd'd to /mnt/partition, it was there. Recently I thought I don't think I'll need that mounted all the time and set "auto" to "noauto" next startup gnome-volume-manager mounted on the desktop the partition. I'm not sure why.
_________________
Helpful Linux Tidbits
Back to top
View user's profile Send private message
mambro
l33t
l33t


Joined: 22 Mar 2004
Posts: 752
Location: Mira (VE) - Italy

PostPosted: Wed Jun 20, 2007 12:06 pm    Post subject: Reply with quote

Ok. i've solved both problems.

For automount usb key:
https://forums.gentoo.org/viewtopic-t-563843.html

For automount of all partitions:
https://forums.gentoo.org/viewtopic-t-566019.html
_________________
"The design of a worldwide, fully transparent distributed file system for simultaneous use by millions of mobile and frequently disconnected users is left as an excercise for the reader".
Andrew S. Tanenbaum, Distributed Operating Systems.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum