This would be VERY trivial to add - the intent was to allow a query of
the CIFS/SMB3 specific inode metatada via a user xattr (the attribute
was defined as user.DosAttrib).   Probably less than 10 lines of code
to finishup below the following in fs/cifs/xattr.c

if (strncmp(ea_name, CIFS_XATTR_DOS_ATTRIB, 14) == 0) {
cifs_dbg(FYI, "attempt to query cifs inode metadata\n");
/* revalidate/getattr then populate from inode */

On Tue, Jun 10, 2014 at 11:32 AM, David Disseldorp <[email protected]> wrote:
> Hi Peter,
>
> On Tue, 10 Jun 2014 16:05:49 +0100, Peter Flood wrote:
>
>> I want to read the 'offline' extended attribute on files on a windows
>> share mounted on a linux host, is it possible to get this info?
>
> The Linux CIFS client doesn't currently offer such support. However,
> the offline attribute can be checked using smbclient via the allinfo
> command. Offline files will carry an 'O' in the attributes field.
>
> Cheers, David
> --
> To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
> the body of a message to [email protected]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Thanks,

Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to