delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/01/05/05:07:47

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 41D8F3858006
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1641377266;
bh=jBX7TE+Qx5j79Cvnk8HvUUmzliHdHqsloJTEsH5clY8=;
h=Date:From:To:Subject:References:In-Reply-To:List-Id:
List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
Reply-To:From;
b=EH9FnNoey+/I8KYL5ldoR/p6hw+L0PTJJN4Xo9w9m/EX8uCmxjIVf6D88W0oSYEh5
IZBHu6aoIKe5oVDe66CakIqHCdva2mGbd46JjG0wk5eujhVR5jy4JZXZkEYN8ZzOZI
lon0Ot6Zkp0lKAKMUc/wiwItymc8EWabGtOfyzA4=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
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
Date: Wed, 5 Jan 2022 11:07:11 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Support for ADS (Alternate Data Streams)
Message-ID: <YdVtz7nup9JvZc7M@calimero.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <25042 DOT 4135 DOT 663145 DOT 551881 AT consult DOT pretender>
<CAF1jjLv+5JA5EGa=YX34fnExi5cFyoPzc8K=PkmW11o7bU6eRw AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CAF1jjLv+5JA5EGa=YX34fnExi5cFyoPzc8K=PkmW11o7bU6eRw@mail.gmail.com>
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 AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On Jan  3 22:40, NightStrike wrote:
> On Sun, Jan 2, 2022, 15:51 <cygwin AT kosowsky DOT 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

-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019