Re: Fixing gvfs-backend-afc for iPhone/iPod Touch access
- From: David Zeuthen <david fubar dk>
- To: Bastien Nocera <hadess hadess net>
- Cc: gvfs-list <gvfs-list gnome org>
- Subject: Re: Fixing gvfs-backend-afc for iPhone/iPod Touch access
- Date: Fri, 31 Jul 2009 12:59:55 -0400
On Fri, 2009-07-31 at 11:43 +0100, Bastien Nocera wrote:
> > If we introduce shadowing again and it is the right way (despite I don't
> > get why the backend mount can't simply parent itself to the volume which
> > issued the mount event), perhaps the GProxyShadowMount should inherit
> > everything from the mount it shadows automatically?
> Shadowing is only to be used when a device has multiple roots. The use
> case was for an MTP devices which shows multiple heads - the internal
> memory and the add-on memory card - on one root, but needs to have 2
> mounts for things like image directory detection to work properly.
> There's no use for shadow mounts in the AFC code.
No, you need to shadow the mount to get the parenting right. Otherwise
there will be no relationship between the GVolume and GMount objects.
] [Thread Prev