[GRLUG] auto mount
Adam Tauno Williams
awilliam at whitemice.org
Tue Feb 24 12:38:46 EST 2009
On Mon, 2009-02-23 at 16:13 -0500, Roberto Villarreal wrote:
> On Monday 23 February 2009, Topher wrote:
> > There's a feature that Gnome has that I want outside of gnome.
> > When you plug in a USB drive or something, some part of gnome
> > notices, and mounts it.
> > I want that, but I don't use gnome. I'm quite comfortable finding
> > the id's of my devices and mounting by hand, and most of my common
> > ones I put in fstab, so it's not all that bad to just do mount -a
> > and it takes care of it.
> > But it seems like if Gnome can do it, there should be something
> > that can do it at the system level as well.
> > Anyone know how that might work, and whether it's already out
> > there?
> KDE does this same thing too. Doing a quick google search on how KDE
> does it says this:
> "KDE can also auto mount devices, working with HAL (Hardware
> Abstraction Layer). Your distribution should have set up HAL
> automatically; if not, consult the documentation provided by your
> distribution."
> (http://docs.kde.org/stable/en/kdebase-runtime/userguide/multimedia.html)
> I guess that's where you would start...
Both GNOME and KDE accomplish this via HAL hooks. Without a session
manager of some kind it will have to work differently. And for FAT
filesystems and the like the system needs to mount the volumes with
specific ownership/permission mapping (again you need a session
manager).
More information about the grlug
mailing list