gvfs and (lib)smbclient (resend)
realrichardsharpe at gmail.com
Sat Aug 2 09:56:45 MDT 2014
On Sat, Aug 2, 2014 at 8:45 AM, Ross Lagerwall <rosslagerwall at gmail.com> wrote:
> On Sat, Aug 02, 2014 at 08:11:14AM -0700, Richard Sharpe wrote:
>> On Sat, Aug 2, 2014 at 8:01 AM, Ross Lagerwall <rosslagerwall at gmail.com> wrote:
>> > While some of these problems could probably be fixed by extending
>> > libsmbclient, I feel that libsmbclient is probably slightly too
>> > high-level for ideal use in gvfs. I note the existence of
>> > libsmbclient-raw but it appears to not provide a stable (or documented!)
>> > API. Searching through the mailing lists shows that I'm not the only
>> > one to come to this conclusion, but I suppose the difficulty is in
>> > getting the level of abstraction in the library correct.
>> Hi Ross,
>> So, assuming that a 'better' API becomes available, two questions come to mind:
>> 1. How are you going to harmonize these with POSIX? That is, it would
>> seem that you are going to have to engage in some pretty heroic code
>> contortions for this to work both with POSIX and NTFS semantics.
> Who says the API needs to have POSIX semantics? gvfs doesn't provide a
> POSIX API...
Sure, but it has to work on POSIX system so there has to be some
abstraction layer that abstracts over both. Unfortunately, POSIX is a
bit like the dwarf brother of NTFS.
More information about the samba-technical