From: Tony H. <h...@re...> - 2007-08-26 15:08:48
|
In <46D...@gm...>, Dennis Tomas wrote: > Tony Houghton schrieb: > > This fixes the problem I had with DevTray mounting my removable devices > > (USB key, MP3 player) as root so I had no write access. It uses the uid > > option to the mount method if the volume supports it, which is the same > > policy as used by gnome-volume-manager. I noticed that gvm additionally > > prefers to use gnome-mount, only using the HAL/DBUS methods if > > gnome-mount isn't present. Perhaps it would be better if DevTray used > > rox (via SOAP?) for (un)mounting, then you get dialogs etc, and also the > > prompts to unmount when closing the last rox window on a volume. Didn't > > an earlier version of DevTray do that anyway, or was that DeviceHandler? > > > It was in DeviceHandler. But it relied on p(u)mount being set as > (un)mount command in the rox options. I've now made DevTray 0.3 use > pmount and fall back to gnome-mount and then HAL, with your patch > applied. I'll try to release it today. Can DevTray pass mount options to rox besides the mount point? I do like the idea of making rox aware of what's being mounted and having it show dialog boxes consistent with other filer actions, but perhaps it doesn't currently offer good enough control over mounting via SOAP? I would have thought HAL is preferable to pmount; I think it supports more options, such as flush for vfat. And I can't see much reason to use gnome-mount other than to make sure nautilus creates icons, and I wouldn't have thought anyone would use nautilus and DevTray together. I noticed in pmount's man page that it supports ntfs-3g, but it needs to be forced to use it instead of the kernel driver. It would be good if DevTray could use ntfs-3g where possible (check for it in $PATH?) whatever mount method it uses because I'm pretty sure that's a better option than the kernel driver these days. -- TH * http://www.realh.co.uk |