Patch for Samba SamFS Offline Support
tobi at oetiker.ch
Thu Apr 3 15:44:54 GMT 2008
I have added support for the offline attribute to samba.
This feature is very useful when using samba in connection with an
HSM file system like Suns SAMFS. Since Windows Explorer will not
auto-load headers of files it finds to be marked offline and thus
refrain from triggering random file retrievals.
The patch does not have any external dependencies. It figures a
files offline status by looking at the file size compared to the
number of blocks it uses on disk. This works for SamFS, but may
work for other HSMs as well.
Please find the current patch on
It would be great if you could include this functionality
with standard samba.
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten
http://it.oetiker.ch tobi at oetiker.ch ++41 62 213 9902
More information about the samba-technical