Re: gvfs: fails to mount certain removable devices



Hey,

On Mon, Nov 12, 2012 at 4:17 AM, Richard B. Kreckel <kreckel ginac de> wrote:
After some more digging I discovered that g_drive_get_volumes() returns a GList with zero elements when I plug in a sticks that isn't automounted.

The way it works is that GVfs is typically used to implement GVolumeMonitor/GDrive/GVolume/GMount instances. On a newish system, udisks2 is used, e.g. this code

http://git.gnome.org/browse/gvfs/tree/monitor/udisks2

On older systems the GDU code is used

http://git.gnome.org/browse/gvfs/tree/monitor/gdu

You can run 'gvfs-mount -li' from a terminal in the login session to see - it will print something like this

  Type: GProxyVolume (GProxyVolumeMonitorUDisks2)

Hope this helps

    David


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]