Displaying streams as xattrs

Steve French smfrench at gmail.com
Mon May 22 15:52:11 UTC 2023


We should be able to retrieve them already fortunately from linux just
thought xattrs might be more natural

On Mon, May 22, 2023, 08:36 Andrew Walker <awalker at ixsystems.com> wrote:

> On Sun, May 21, 2023 at 9:08 PM Steve French <smfrench at gmail.com> wrote:
> >
> > Looking through code today (in fs/cifs/xattr.c) I noticed an old
> > reference to returning alternate data streams as pseudo-xattrs.
> > Although it is possible to list streams via "smbinfo filestreaminfo"
> > presumably it is not common (opening streams on remote files from
> > Linux is probably not done as commonly as it should be as well).
> >
> > Any thoughts about returning alternate data streams via pseudo-xattrs?
> > Macs apparently allow this (see e.g.
> >
> https://www.jankyrobotsecurity.com/2018/07/24/accessing-alternate-data-streams-from-a-mac/
> )
> >
> >
> >
> >
> >
> > --
> > Thanks,
> >
> > Steve
>
> Another issue with exposing ADS as xattr on Linux is that VFS caps max
> xattr size at 64 KiB. I've seen MacOS resource forks in the wild with
> sizes of up to 3 MiB. FCNTL sounds interesting.
>
> Andrew
>


More information about the samba-technical mailing list