LWN.net Logo

The Grand Guignol

The Grand Guignol

Posted Jun 29, 2009 10:35 UTC (Mon) by eru (subscriber, #2753)
In reply to: The Grand Guignol by dlang
Parent article: Shuttle XS29f: Linux Looks Great in Green (LinuxPlanet)

access to removable media is automounter plus a single app, again, not very involved with either gnome or kde

I have sometimes tried the automounter approach, but it has the problem that the media is not noticed when you insert it, only when you access it (and to do so you have to explicitly know where it gets mounted in the directory hierarchy). It is also useful for the GUI to immediately react to the inroduction of the new medium (like make the new medium appear in a file manager). This is where I thought the D-BUS and related stuff comes in. Or are there other ways to get the same effect?


(Log in to post comments)

The Grand Guignol

Posted Jun 29, 2009 16:59 UTC (Mon) by dlang (✭ supporter ✭, #313) [Link]

actually now that I think about it more, I think it's done by udev or the hotplug script. hotplug gets informed when something new gets plugged in and detected by the kernel, then it calls udev which mounts the device.

the only place d-bus would get involved (and I'm not sure that it is) is in communication to desktop daemons, and while it's a nice touch to have the new device pop up automagicly, it's not that bad to have to hit refresh to see a new device that you just plugged in.

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds