Support for ADS (Alternate Data Streams)
Corinna Vinschen
corinna-cygwin@cygwin.com
Wed Jan 5 10:07:11 GMT 2022
On Jan 3 22:40, NightStrike wrote:
> On Sun, Jan 2, 2022, 15:51 <cygwin@kosowsky.org> wrote:
>
> > While I recognize that ADS is not supported by POSIX, I was wondering
> > what if any support for ADS might exist within Cygwin.
> >
> > The last time I looked into this was probably more than a decade ago
> > but I am seeing (unfortunately) more usage of ADS in the Windows
> > world, so I was wondering if there has been any effort to support in
> > Cygwin?
> >
> > --
> > Problem reports: https://cygwin.com/problems.html
> > FAQ: https://cygwin.com/faq/
> > Documentation: https://cygwin.com/docs.html
> > Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
>
>
> FWIW, ntfs-3g under Linux maps these to extended attributes
Using the EA API as ntfs-3g with the streams_interface=xattr option
seems like a nice way to allow reading and writing ADS on Cygwin as
well.
Do you know how ntfs-3g performs the mapping? For instance, I guess
that ADS are stored in the user.* namespace? Does listxattr list ADS or
does it skip them? Stuff like that.
Corinna
More information about the Cygwin
mailing list