Re: Fixing gvfs-backend-afc for iPhone/iPod Touch access



On Thu, 2009-07-30 at 12:50 -0400, David Zeuthen wrote:
> On Thu, 2009-07-30 at 18:43 +0200, Martin S. wrote:
> > On Thu, 2009-07-30 at 11:32 +0200, Martin S. wrote:
> > > Thus I ask for help, especially for the volume monitor code.
> > > 
> > > The backend currently detects a plugged in device however one ends up
> > > with:
> > > - Volume (is the enclosing volume for the mount)
> > >   - Mount (seems to be the mount from afc volume)
> > > - Mount (as if mounted using afc://uuid/ directly)
> > > 
> > 
> > Ok, I think I know what happens.
> > 
> > The volume monitor creates the GProxyShadowMount while at the same time
> > due to the afc:// activiation_root, the afc backend is started and
> > creates it's own mountpoint.
> > 
> > Apparently this is the same thing that happens with the gphoto2 backend.
> > As seen in the "gvfs-mount -l" output below gphoto2 also creates two
> > mounts for the same thing... I wonder if that is the desired.
> 
> It is intended. The non-proxy mount is shadowed and thus won't appear in
> any user interface (such as Nautilus or the GTK+ file chooser):
> 
> http://library.gnome.org/devel/gio/unstable/GMount.html#g-mount-is-shadowed

And that fixes the problem.

Patch against gvfs please? :)






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