Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
best way to automount ?
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
dju`
Retired Dev
Retired Dev


Joined: 11 Feb 2003
Posts: 370

PostPosted: Thu Dec 30, 2004 8:53 am    Post subject: best way to automount ? Reply with quote

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
View user's profile Send private message
r00tzz
Apprentice
Apprentice


Joined: 09 Apr 2004
Posts: 203
Location: Sao Paulo, Brasil

PostPosted: Thu Dec 30, 2004 11:06 am    Post subject: Reply with quote

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
View user's profile Send private message
rm
Tux's lil' helper
Tux's lil' helper


Joined: 25 Oct 2004
Posts: 87

PostPosted: Sun Jan 02, 2005 7:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
maxpayne
Tux's lil' helper
Tux's lil' helper


Joined: 13 Oct 2003
Posts: 122

PostPosted: Mon Jan 03, 2005 9:07 am    Post subject: Reply with quote

i emerged ivman, yet automounting doesn't work...

i made sure hald and dbus are started
Back to top
View user's profile Send private message
Crucis
n00b
n00b


Joined: 07 Sep 2004
Posts: 65
Location: Singapore

PostPosted: Mon Jan 03, 2005 1:30 pm    Post subject: Reply with quote

Mine works perfectly, you probably made a mistake somewhere :?:
Back to top
View user's profile Send private message
paul555
l33t
l33t


Joined: 22 Nov 2004
Posts: 612
Location: Greece

PostPosted: Mon Jan 03, 2005 3:59 pm    Post subject: Reply with quote

:( 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
View user's profile Send private message
bollucks
l33t
l33t


Joined: 27 Oct 2004
Posts: 606

PostPosted: Mon Jan 03, 2005 10:20 pm    Post subject: Re: best way to automount ? Reply with quote

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
View user's profile Send private message
bomek
n00b
n00b


Joined: 24 Jun 2004
Posts: 11
Location: Lausanne, Switzerland

PostPosted: Thu Jan 06, 2005 7:16 am    Post subject: Reply with quote

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
View user's profile Send private message
dju`
Retired Dev
Retired Dev


Joined: 11 Feb 2003
Posts: 370

PostPosted: Thu Jan 06, 2005 9:23 am    Post subject: Reply with quote

do you advise ivman or gvm?
Back to top
View user's profile Send private message
UB|K
l33t
l33t


Joined: 27 May 2004
Posts: 786
Location: Villeurbanne, France

PostPosted: Thu Jan 06, 2005 12:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
dju`
Retired Dev
Retired Dev


Joined: 11 Feb 2003
Posts: 370

PostPosted: Thu Jan 06, 2005 1:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Thu Jan 06, 2005 4:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
dju`
Retired Dev
Retired Dev


Joined: 11 Feb 2003
Posts: 370

PostPosted: Fri Jan 07, 2005 7:41 am    Post subject: Reply with quote

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
View user's profile Send private message
dju`
Retired Dev
Retired Dev


Joined: 11 Feb 2003
Posts: 370

PostPosted: Sun Jan 09, 2005 11:51 pm    Post subject: Reply with quote

btw, what modifies /etc/fstab at each boot, adding /media/* entries?
Back to top
View user's profile Send private message
andyknownasabu
Apprentice
Apprentice


Joined: 06 Feb 2003
Posts: 281
Location: Zurich, Switzerland

PostPosted: Mon Jan 10, 2005 7:53 pm    Post subject: Reply with quote

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
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