Patch for Samba SamFS Offline Support
Tobias Oetiker
tobi at oetiker.ch
Thu Apr 3 15:44:54 GMT 2008
Hi,
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
http://tobi.oetiker.ch/solaris/sambasamfs/samba-3.2.0pre2-samfs-patch.txt
It would be great if you could include this functionality
with standard samba.
cheers
tobi
--
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
mailing list