[Samba] WinNT offline file attribute
jra at samba.org
Thu Apr 25 09:37:43 GMT 2002
On Wed, Apr 24, 2002 at 07:47:29PM -0700, Shirish Kalele wrote:
> "csc policy" is for client-side offline caching. I think Damir is looking
> for Samba to support files offlined by storage managers like HSM. Both are
> called "offline files". One of the reasons the "csc policy" parameter was so
> Samba could set the 'offline' flag in the files attributes to indicate the
> file is offlined. This makes applications like Explorer not open and read
> files just to display the icons (which would force the manager to bring the
> files online again). A special "offlined" icon is displayed instead.
> 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.
More information about the samba-technical