Re: Drive Directories

Tony Houghton <[email protected]> Sun, 13 Mar 2011 13:43:33 +0000
Newsgroups gmane.comp.desktop.rox.user
Message-ID <20110313134333.19e25a90@toddler>
On Sun, 13 Mar 2011 09:34:25 +0000 (GMT)
Jim Lesurf <[email protected]> wrote:

> In article <[email protected]>, Mark Williams
> <[email protected]> wrote:
> >
> 
> > They only let you do it if there's already a disc in the tray. I'm
> > talking about opening the empty tray by clicking on a panel icon :D
> 
> Pardon my basic linux ignorance about this. But what commands are
> actually sent when you click 'eject' or 'unmount' over either
> a /media/dvd (or /cd) or an identified mounted device in /media ?

I think rox-filer uses the standard mount, umount and eject commands
which have the disadvantage of requiring root access unless users are
granted the rights in /etc/fstab.  The Media applet uses functions in
the gudev library.

Nautilus (GNOME's file manager) provides "unmount", "eject" and "safely
remove" depending on the device, but most seem to mis-report what
they're capable of (eg eject for a USB memory stick) and Nautilus seems
to have a habit of remounting devices immediately after "safely
removing" them, or making them disappear entirely from the system until
replugged. For Media I thought it was less confusing to only provide
"unmount" and only mount on request (when a drive's icon is clicked).

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d