[Samba] Setting (exposing) FILE_ATTRIBUTE_OFFLINE for a share

Volker Lendecke Volker.Lendecke at SerNet.DE
Thu Jul 31 15:00:11 GMT 2008

On Thu, Jul 31, 2008 at 11:25:09AM +0200, Damir Dezeljin wrote:
> Hi all,
> Back in 2002 I opened a discussion on the samba-technical mailing list
> regarding the WinNT FILE_ATTRIBUTE_OFFLINE (
> http://lists.samba.org/archive/samba-technical/2002-April/020969.html).
> Meanwhile some FILE_ATTRIBUTE_OFFLINE handling was implemented in the
> 'trunk' Samba. Currently (Samba 3.0.28a-1ubuntu4.4) provides the 'dmapi
> support' option for representing the mentioned attribute. Unfortunately it
> seems the option is supported only on XFS using the libdm0. Additionally it
> seems only SUSE / SLES ships with the mentioned support built into Samba.
> Well ... I'm again interested in the mentioned option and I'm wondering if
> there is a way to say 'add the FILE_ATTRIBUTE_OFFLINE flag' for all files in
> the specified share.
> Of course it would be even better if I could implement a utility / dmapi
> interface / or something else Samba could use to figure out which files I
> would like to mark as offline on the HSM file system I'm using or any other
> kernel / FUSE / ... file system.

You might want to look at Samba 3.2: There we have a
is_offline VFS operation, and it would be trivial to add a
module that always returns true.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20080731/26a81d5f/attachment.bin

More information about the samba mailing list