Re: Automounting GVFS systems when devices are added?



On Mon, 2008-10-13 at 20:22 -0400, David Zeuthen wrote:
> On Mon, 2008-10-13 at 14:47 -0700, Patrick Walton wrote:

> > Oh, and it doesn't support multiple iPhones or iPods at the moment, 
> > because the underlying libiphone doesn't support them. However, I agree 
> > that the URI should be in a form that allows us to support multiple 
> > devices in the future. What would really be best is to use the serial 
> > number of the device as an identifier (so, say, 
> > afc://YM2105825234:com.apple.afc/), I think. This is an important 
> > property to expose to applications anyway, because it is needed in the 
> > obfuscated signature for the music database.
> 
> I think it's more logical to use the same scheme as the gphoto2 backend,
> e.g. afc://[usb:001,002] with bus and device number. The serial number
> should probably be exported through both G_VOLUME_IDENTIFIER_KIND_UUID
> and g_mount_get_uuid() [1].

I agree. It makes it easy to "resolve" the uri, without having to
enumerate all the iphones on the usb bus.



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