delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/12/20/17:22:57

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=qWGKJW9l8v4lCibQICEudmTMnq+/wg5fIjoU8TlLyIV4jGfR9E4Ut
wRo5Ld3tqFljO1hnBt5+ozRBtmuRoNwQH6TqU89Qn0E4rTYN8FzjVTE7n0UBBaT0
tJKU0nbZKTVsSa27AWCUo2Lb0/u8tqvVK4IrZodIaK6jX3gFgMmF0o=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=Dl5RkEnorvarnzzThXoYjOjc8r4=; b=eveYFrwt2M5gJMOs8qy9GiIbCukC
s43NdO6ZiZE0u8/HiON14d6B4y0ELopjPPNfztAZsPIvmDx9AH02za15d5VxLJgX
Gpz9PclMaJFd1bPJObg+mGH17fY3t0RmUGS32VK8207zG9WO9GICtkVrbzfZvd+E
7xTxKPGgFdcPfoM=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-100.4 required=5.0 tests=BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=announcement, ANNOUNCEMENT, inglis, Inglis
X-HELO: mout.kundenserver.de
Date: Thu, 20 Dec 2018 23:22:41 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] attr 2.4.48-2
Message-ID: <20181220222241.GA3310@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <announce DOT 20181220110408 DOT 24226-1-corinna-cygwin AT cygwin DOT com> <792facca-bc23-d5c0-76af-336a95e455c1 AT SystematicSw DOT ab DOT ca>
MIME-Version: 1.0
In-Reply-To: <792facca-bc23-d5c0-76af-336a95e455c1@SystematicSw.ab.ca>
User-Agent: Mutt/1.10.1 (2018-07-13)

--OXfL5xGRrasGEqWY
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Dec 20 09:03, Brian Inglis wrote:
> On 2018-12-20 03:04, Corinna Vinschen wrote:
> > The following packages have been uploaded to the Cygwin distribution:
> >=20
> > * attr-2.4.48-2
> > * libattr-devel-2.4.48-2
> > * libattr1-2.4.48-2
>=20
> Does this release support listing Windows Alternate Data Streams, as the =
Linux
> release does with Tuxera NTFS-3G?

libattr only supports reading and writing EAs, it has no capabilities to
read or write ADS.  Ntfs-3g supports the streams_interface=3Dwindows
option which allows to read ADS.  This also adds the ntfs.streams.list
EA to a file with named ADS.  So attr/getfattr can only inspect the
ntfs.streams.list EA because the NTFS-3G driver creates them on the fly
when inspecting the file EAs.

tl;dr: No, sorry.  This could only work if Cygwin fakes the
ntfs.streams.list EA per file just like the NTFS-3G driver.

Patches welcome.  Looks like a nice little project if you want to get
your hands dirty.  The functions to handle EAs are pretty
self-sufficiently implemented in ntea.cc.  A little loop about
NtQueryInformationFile(FileStreamInformation) should do it.


Corinna

--=20
Corinna Vinschen
Cygwin Maintainer

--OXfL5xGRrasGEqWY
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlwcFjEACgkQ9TYGna5E
T6C2vhAAoEP/A0Zqlc+WJhKMoRPJrWzJ3l26rOhYQFE/KqZutn2hfsgpLE+sTW3W
2r7Lxq3CiEqy/17AbGEzgaGbyBtpxQHBc56gEXkEo/1lcHt5w7rVLzlWXTuG2sa9
KCfVFT3/2oqPPSUpWa7v4R/H3k3BP/uo82ZLYsZrdq+ZqheYJUjVZkHMr+i3Qu4B
DcnUGa9jksic64Ql0Ex+qlO8ks1Og7jxpnYgjZTczHsef4tsQP1/f+65iZZU92d4
aHwKtSy3a29W5D08vqagedr3Qua9B1DxP7yCpMvzYsWdytWanD+Ol/zdsICeDdsM
VVqh0oIdXs2NNBjZP73Q8xCzkwyg1od7zbajvmchWULVsYN1U0C9JjcfZiX5xHPY
/1cLaJr9N+V5CPCNHudEHjWzXrbNPQ3+2i7fSJIT6Zihujxmo/7QQ59pkv/gLC9V
XNRXplzvlAr74/IQDupNS+umkzPpd62IqZ9YqIAvmxfLQ6O4RaNxdwwVK/aw9A9n
UiKuD/98gH3tJoDlfno4e5qpCUcljJaZlOsSCnv/XWPSLiyaz0XMYUFH8lG7B/HU
qLeR35t2sDWe2F7LFd57ZqoUBLCJcVvAmEoXkT3V383I3XL+R6+v3oIgEucA75Im
pm2PHOI+tyLdZWoQWTpUyUZaDoKJqcD3GsEk5+u8vSuk2hHD/4c=
=H3Dx
-----END PGP SIGNATURE-----

--OXfL5xGRrasGEqWY--

- Raw text -


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