From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.13]) by sourceware.org (Postfix) with ESMTPS id 921063858427 for ; Wed, 5 Jan 2022 10:07:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 921063858427 Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=cygwin.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=cygwin.com Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MNKqC-1mlk9y2dNy-00OqlN for ; Wed, 05 Jan 2022 11:07:12 +0100 Received: by calimero.vinschen.de (Postfix, from userid 500) id DB08DA80ED7; Wed, 5 Jan 2022 11:07:11 +0100 (CET) Date: Wed, 5 Jan 2022 11:07:11 +0100 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Support for ADS (Alternate Data Streams) Message-ID: Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <25042.4135.663145.551881@consult.pretender> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Provags-ID: V03:K1:toDD4E6nJkYFUzEPRz1wKczWvluzuUsJjpNlc41mrIaAy2rk7kT LMLRIU+NgQ855J9G1AMfDfThJttICoT8giRhsE8XdVeZgGo7bVy1t5/17bEKoF4khoAiYyf Gz8jKwHk26hYbnJXHQkXwYK6C1ixJ2y5aPJaQq1UDuQTluEtPNzkS2E38ywPigzkv2eV0Fq NnMNVKFA19yUyrAle2I9w== X-UI-Out-Filterresults: notjunk:1;V03:K0:tgzf7FMEFk4=:DcrVt0tRPZm/+SOC62JZzc fE6PamqzNyttIFSiWfHpDjm21RDiqQbOwawtenij10K3SYE480vmXbJXAnvGJ89TCYV/YbYAM b+0M9enkcW/6TilDkuhVoe/VvIjwFKroM7SsLZ7XMyxmXWjESkhfTtLDYuW8bH5veX44Cqat1 xwISpg0SxX9kxU+egMiPipVQFFm6mU6MpydfoUFNVkHE6w+jnwoTNFVpot/DFscRyy/lniOxJ x7TmhUZuk98pQj1RHRyoy+59hCROFhPRQbsIX3tov3nwTJiXhvq127GGtUxhhoT93eHIZYVMO UIXsp4CoXDKtUqlv/rcIApce3bgDdNIyg6ZrNols6CqdSFtRKPGlD0jQiIIxsY17v7IN5GHEE 1smDd7N0QG5+Ke2v8+yjBEaqsAJERTqnCu8AjDx1ykBmbentVN/k3b11I7fQbWmwJlYnZ/puZ Im+m309p9/xaKQXwEvXviXslHvA5bmG0/dyxEZMBsmC5YTU3UOjG0ZiY2eCaifNfbqS9glhe5 g/Z1JiU6CDTJE7i8oeS/wGsNObSTlsek8UoM4uqwdjR0yagibf98igY6o+Ucq2la9InC4cF3W Oti7jtT5Xqb4sYIJjpX89usa0bCz98MvGDf5h+smWdfKjE4gNDhww0pD7+U3HRtmxssX/N8AL 6Iv9ZyCJxxe/dt96EcCURkJu86jmkQRG7n2xdmiaS2CwRktkPGuMstnl3QNiTuNyH/COu6MgA r5xftnIDKqXRyeLA X-Spam-Status: No, score=-70.3 required=5.0 tests=BAYES_00, GOOD_FROM_CORINNA_CYGWIN, KAM_DMARC_NONE, KAM_DMARC_STATUS, RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL, SPF_FAIL, SPF_HELO_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jan 2022 10:07:16 -0000 On Jan 3 22:40, NightStrike wrote: > On Sun, Jan 2, 2022, 15:51 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