[Samba] WinNT offline file attribute
Tim Potter
tpot at samba.org
Thu Apr 25 16:23:21 GMT 2002
On Thu, Apr 25, 2002 at 09:36:30AM -0700, Jeremy Allison wrote:
> > As I understood it (and I could be wrong), indicating offline wasn't a
> > problem, the problem was finding out if a file was offline. I'm sure Damir
> > could code up a custom fix to make Samba do it (using ioctl's or whatever)
> > and distribute the fix as his patch. But I don't see how there could be a
> > generic fix. I remember there was talk of such a thing.
>
> Yes, the problem is there is no standard POSIX call to tell if
> a file is offline or not.
I was thinking they could be stored as extended attributes (along with
the dos, system and archive bits). I guess this doesn't solve the POSIX
I/O business though.
There is probably a way of getting this information using the DMAPI
specification which from my 10 minute web search (-: seems to be at least
mentioned by other people like SGI, IBM, etc.
Tim.
More information about the samba
mailing list