View previous topic :: View next topic |
Author |
Message |
dju` Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
Joined: 11 Feb 2003 Posts: 370
|
Posted: Thu Dec 30, 2004 8:53 am Post subject: best way to automount ? |
|
|
Hi, what's the best way to automount CDs and USB mass storages? I'm a bit lost between:
supermount
submount
hal
dbus
ivman
USE +hal
udev
famd
etc... thanks for your answers. btw, i'm still not using udev because the last time i wanted to, it broke my /etc ! so 'im still using devfs, but i might give udev a try once more. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
r00tzz Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Southpark/avatar45.gif)
Joined: 09 Apr 2004 Posts: 203 Location: Sao Paulo, Brasil
|
Posted: Thu Dec 30, 2004 11:06 am Post subject: |
|
|
I think the best way to automount stuff is
hal+dbus+gnome volume manager / ivman
at least the most up to date and probably the default in future instalations.
EDIT: give udev a try, it's needed by them.. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rm Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 25 Oct 2004 Posts: 87
|
Posted: Sun Jan 02, 2005 7:29 pm Post subject: |
|
|
I have udev, no devfs in the kernel, hal, dbus and gnome-volume-manager installed.
-> hald is in my default runlevel, I just checked, and dbus is not in any runlevel, so I guess it's started automatically via hald.
-> gnome-volume-manager is set up, to start when I start a gnome session
mounting and unmounting works like a charm, just insert and eject.
bye,
rm |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
maxpayne Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 13 Oct 2003 Posts: 122
|
Posted: Mon Jan 03, 2005 9:07 am Post subject: |
|
|
i emerged ivman, yet automounting doesn't work...
i made sure hald and dbus are started |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Crucis n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 07 Sep 2004 Posts: 65 Location: Singapore
|
Posted: Mon Jan 03, 2005 1:30 pm Post subject: |
|
|
Mine works perfectly, you probably made a mistake somewhere ![Question :?:](images/smiles/icon_question.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
paul555 l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/146995174343687279e4f8a.jpg)
Joined: 22 Nov 2004 Posts: 612 Location: Greece
|
Posted: Mon Jan 03, 2005 3:59 pm Post subject: |
|
|
I tried to go with udev and ivman from devfs -which i had from the installation- i emerged them but after that my kernel didn't boot.Now i will try a second time and see.Submount isn't supported anymore? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bollucks l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 27 Oct 2004 Posts: 606
|
Posted: Mon Jan 03, 2005 10:20 pm Post subject: Re: best way to automount ? |
|
|
dJu` wrote: | Hi, what's the best way to automount CDs and USB mass storages? I'm a bit lost between:
supermount |
Supermount is evil, Evil, EVIL! Or so the developers say.
However for me it just works with close to zero effort so I continue to use it. No matter how evil it is, it is the least effort to get working (if you have it patched into your kernel). |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bomek n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 24 Jun 2004 Posts: 11 Location: Lausanne, Switzerland
|
Posted: Thu Jan 06, 2005 7:16 am Post subject: |
|
|
HAL with gvm work perfectly, except after 1-2 days, hald crash and i can't restart it. So i need to reboot to get automounting working again.
I tried to gdb hald, but when hald crash in gdb, there is no way to backtrace and i have to kill gdb with a -9
And worst of it, there is no way to reproduce the problem... Until hal is more stable, i think supermount is a good choice. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dju` Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
Joined: 11 Feb 2003 Posts: 370
|
Posted: Thu Jan 06, 2005 9:23 am Post subject: |
|
|
do you advise ivman or gvm? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UB|K l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/100531530650f357e511dc9.jpg)
Joined: 27 May 2004 Posts: 786 Location: Villeurbanne, France
|
Posted: Thu Jan 06, 2005 12:32 pm Post subject: |
|
|
If you use gnome definitly go with gvm else ?? i realy don't don't know if gvm can work properly outside gnome.
As allready said, you will need udev to make it work. If you want to stick with devfs, i guess that supermount is your only choice (or ivman?? don't know anything about it, sorry)... it's sad, udev's not that hard to configure, give a new try |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dju` Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
Joined: 11 Feb 2003 Posts: 370
|
Posted: Thu Jan 06, 2005 1:23 pm Post subject: |
|
|
well, i've tried twice to run udev (with tarball, not 100% udev) on two different boxes: each time, it borked my / partition (wich runs reiserfs). the first time i boot with a udev-enabled kernel, it reboots at INIT time, probably when starting udevd up. after that, i have to boot on the livecd to fsck /, and everytime i had a bunch of files in lost+found, which corresponded to directories under / (like /lost+found/2_155/ -> /etc/)... so i'm not ready to retry again until this kind of issues haven't been resolved. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dsd Developer
![Developer Developer](/images/ranks/rank-dev.gif)
Joined: 30 Mar 2003 Posts: 2162 Location: nr London
|
Posted: Thu Jan 06, 2005 4:31 pm Post subject: |
|
|
they are (according to someone who filed a bug report) fixed in 2.6.10.
plus you will not experience this if you follow the udev guide and make sure that /dev/console and /dev/null exist on the root partition _________________ http://dev.gentoo.org/~dsd |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dju` Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
Joined: 11 Feb 2003 Posts: 370
|
Posted: Fri Jan 07, 2005 7:41 am Post subject: |
|
|
ok, i've tried again on one box, and now it successfully runs pure udev
so i've set hal/dbus/ivman up, which works well for CD and DVD media types, but the system freezes when umounting my usb drive. i may give gvm a try cause no additionnal deps are needed to install it. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dju` Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
Joined: 11 Feb 2003 Posts: 370
|
Posted: Sun Jan 09, 2005 11:51 pm Post subject: |
|
|
btw, what modifies /etc/fstab at each boot, adding /media/* entries? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
andyknownasabu Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/204683489642a073986f3f4.jpg)
Joined: 06 Feb 2003 Posts: 281 Location: Zurich, Switzerland
|
Posted: Mon Jan 10, 2005 7:53 pm Post subject: |
|
|
dJu` wrote: | btw, what modifies /etc/fstab at each boot, adding /media/* entries? |
That's the program "fstab-sync" which updates the /etc/fstab file in response to HAL events.
It is invoked as a callout from the /etc/hal/device.d directory by the HAL daemon. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|