delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/12/19/08:39:27

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=lZNFk7p80vIRAY71bJNuy8pe0Ot19Or2vTwMIPJ15R4kqTJN0/FQm
LTpJr/KAAJsKGYKTER7GYDOzDO6/Y64u1i5ULHEveTLe5OQxAXC1/HQmOw6vrtOY
Qo0JWms49ZagfKIkW+SP7e2F5YAs32cV7cgxJI+avNTdyTqOu4KncQ=
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=nufkkk9msVCTn/mGkSKHsa6igjs=; b=CGdDFoGo3evEFRWuVWbFLRl5I53h
AlFXlWsMtTDgLzuAmQpXsOS0EseJXfQHzhNUDXuBCLes5qEtxOxg0vh+7LNOcb8H
xnI+eItUJDvke+x1Q17/5vYHW7kSuOI2Ghz8RaHkwMVJkrzLuIzCzN4VPUqr/rfS
6FQ8JBTKwxTN8L8=
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.9 required=5.0 tests=BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=Hx-languages-length:1215, H*F:D*cygwin.com, familiar, our
X-HELO: mout.kundenserver.de
Date: Wed, 19 Dec 2018 14:39:08 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Exclude System entries with "ls" or "find"
Message-ID: <20181219133908.GK28727@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <5c184377 DOT 1c69fb81 DOT 7df8f DOT 9525 AT mx DOT google DOT com> <20181218081347 DOT GD28727 AT calimero DOT vinschen DOT de> <7831498f-3c06-5810-354e-87c452d3a0e7 AT SystematicSw DOT ab DOT ca> <20181219100622 DOT GF28727 AT calimero DOT vinschen DOT de> <328574974 DOT 20181219151038 AT yandex DOT ru> <640e5b20-253d-682b-e021-f6b2c95bfd6f AT cs DOT umass DOT edu>
MIME-Version: 1.0
In-Reply-To: <640e5b20-253d-682b-e021-f6b2c95bfd6f@cs.umass.edu>
User-Agent: Mutt/1.9.2 (2017-12-15)

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

On Dec 19 08:29, Eliot Moss wrote:
> On 12/19/2018 7:10 AM, Andrey Repin wrote:
> > Greetings, Corinna Vinschen!
> >=20
> > > Bottom line is, if you want to handle DOS attributes in a special way
> > > not covered by our POSIX emulation, user space has to do it.
> >=20
> > Can something be implemented around getfattr to serve this use case in =
a more
> > POSIX'y way?
>=20
> I was not previously much aware of get/setfattr, but I agree that that lo=
oks
> like a possible way to provide access to the Windows SYS attribute and fr=
iends.
> Not that I am that familiar with details of what NTFS, etc., provide, get=
fattr
> may be a way to provide access to additional attributes / facts about fil=
es
> (paths, generally) as well.  Sounds like it would not be too hard to supp=
ort
> access to the basic attributes this way.
>=20
> I suspect the general response will be PTC, though!  :-)

Not only that.  attr is an upstream package, so you would have to=20
convince the upstream maintainers to take your patches, ideally.

attr is for handling of extended attributes, quite different from
DOS attributes.  I doubt that DOS attribs fit in there.


Corinna

--=20
Corinna Vinschen
Cygwin Maintainer

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

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

iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlwaSfwACgkQ9TYGna5E
T6BpYxAApW/BgxZaP8AjPLSocGDl90nKbf/+i8ZL3aVGX0ZSWTxQ10OmXLTP80fH
pZvav40LOYm89U2e81ktJBikjxCKYFvW/mlmeaeitliu43xuvWwg2Ww4O3Vhu9l/
wrFBHWa6EW9MsTsFHThpdk5ryNWBeR046/7f2rxMzJMyYzmtMnuiGSZcvAFWVxbu
1l7WIzPsLIv3xMt70vwNY46Y+SnjX43vd3QeM8IYB9XzRrBO6L+DWggGc5X6pCad
6wLn6f+pzZZeImK/qWb4lUXz3dMcocffK/IMR+NVwdt82cUdqyNID5qa+yJ+VD8p
RdDLoe2WYBk9JHy9cixXjyrPkpPiDyb7XXU+JGHfCwmbCMqfwk6cH+swehjan1OK
6InvyD9wkY3+uUDVCs3kF5bj48jgw6jkyVk9rt5virx6zrij57sPwIq/CRQxdpQZ
6i2/2LP7JHYjyztgOucY1e7tTIScFTjhk/+LdQsupFz+YV0OjBO4Cz9tKKhh+N/0
3AJgUiXDtXHH+Ue2OFKkx1FIDzQwzlHBHwNbAhLV5zVtsZr6UKnnvl5MtzE+r/r7
JAop0id8P5ONVN3TFJ06KZWt/+9NBimUwAip1qlNUGXP4obX7czbkcFXmFzsJhbd
PRnrp2cZKoZJPnSqi0VWOEkPQHRyVbh6oHwIekzfTLooQWBcJlY=
=D+bf
-----END PGP SIGNATURE-----

--JEhTuUFIcUlI65CC--

- Raw text -


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