Displaying 3 results from an estimated 3 matches for "get_dos_attributes".
2019 Mar 05
3
Enable XAT_OFFLINE extended attribute in Samba
My goal is to use the Offline file attribute of Windows when sharing
with Samba:
https://docs.microsoft.com/en-us/dotnet/api/system.io.fileattributes?redirectedfrom=MSDN&view=netframework-4.7.2
It works when I share ZFS filesystem using the native ZFS CIFS sharing,
but it fails when I share the same ZFS with Samba, that is the Offline
files are not showed in Windows Client
Il 3/4/2019
2019 Mar 05
0
Enable XAT_OFFLINE extended attribute in Samba
...module source3/modules/vfs_tsmsm.c
which, as decribed, is:
Samba VFS module for handling offline files
with Tivoli Storage Manager Space Management
You would need to create a similar VFS module
on ZFS to expose the FILE_ATTRIBUTE_OFFLINE
flag to the client. Mostly it'll be wrapping
the [f]get_dos_attributes() VFS calls.
A bit fiddly, but doable (especially by companies
used to Samba coding internals).
Jeremy.
2019 Mar 07
1
Enable XAT_OFFLINE extended attribute in Samba
..., as decribed, is:
>
> Samba VFS module for handling offline files
> with Tivoli Storage Manager Space Management
>
> You would need to create a similar VFS module
> on ZFS to expose the FILE_ATTRIBUTE_OFFLINE
> flag to the client. Mostly it'll be wrapping
> the [f]get_dos_attributes() VFS calls.
>
> A bit fiddly, but doable (especially by companies
> used to Samba coding internals).
>
> Jeremy.