libgpod itdb_device_get_storage_info
Adam Lewis <[email protected]>
| Newsgroups | gmane.comp.ipod.gtkpod |
|---|---|
| Message-ID | <[email protected]> |
I would like to lift this function into the public API as well as submit a bugfix for properly detecting free space and capacity on gvfs-fuse mounted devices. Basically the current mechanism of calling statvfs does not work for devices mounted this way (iphone in ubuntu 10.10 mounts this way). The reason I would like to lift this function into the public API is so that other applications depending on libgpod can have a more reliable way of accessing device capacity and free space that works. Currently gpodder uses statvfs as well, which leads to it thinking the device has no free space. Let me know if this seems like I'm heading in the right direction as I'm not that familiar with libgpod. The patch will essentially forward to a glib file function that properly handles gvfs-fuse mounted filesystems. Thanks, Adam ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Gtkpod-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gtkpod-devel