From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 115576 invoked by alias); 20 Dec 2018 22:22:46 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 115195 invoked by uid 89); 20 Dec 2018 22:22:46 -0000 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 Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (212.227.126.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 20 Dec 2018 22:22:44 +0000 Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MoeU5-1hBwct1JlJ-00p68K for ; Thu, 20 Dec 2018 23:22:42 +0100 Received: by calimero.vinschen.de (Postfix, from userid 500) id 47ABBA80414; Thu, 20 Dec 2018 23:22:41 +0100 (CET) Date: Fri, 21 Dec 2018 07:13:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: [ANNOUNCEMENT] attr 2.4.48-2 Message-ID: <20181220222241.GA3310@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <792facca-bc23-d5c0-76af-336a95e455c1@SystematicSw.ab.ca> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="OXfL5xGRrasGEqWY" Content-Disposition: inline In-Reply-To: <792facca-bc23-d5c0-76af-336a95e455c1@SystematicSw.ab.ca> User-Agent: Mutt/1.10.1 (2018-07-13) X-SW-Source: 2018-12/txt/msg00191.txt.bz2 --OXfL5xGRrasGEqWY Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1171 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" Content-length: 833 -----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--