X-Recipient: archive-cygwin@delorie.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:reply-to:subject:to:references:from:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=KZfgmdcHLKQbqVR3
	kN1YP2NGaJk8wRqCpZhwlCWDEkTBT6WlLnQF3kgTo/0mfTYSXjKAN9pweoZ+bVBa
	TkjTxwIM2YR49iIUdVNRUFUFxgYw5AkgLc/wifJUEVqrerQZksfVPccQfx4Td+58
	//janxMZN/Jx+7fDcnSRsZ3RJHU=
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:reply-to:subject:to:references:from:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=iepXws5xKe+Rq8ST1zV5qp
	1+3bw=; b=OLJdnre/hatscVz8iEnP4nHN7UsPv8hjwQkvq5UWEmDL7J51nCBbQY
	M3MVEeoYCJsYx0cVoE9C0K+Z2tYUhpk5zCxDz+PhGy+5dJyL1yIO7t1rUJnQ4OOa
	Ud18ZkBBHDEUBv2CNDFhcDWedB5ySrXhuCP9AY77LtycVLwRYDqFk=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-0.0 required=5.0 tests=BAYES_40,SPF_PASS autolearn=ham version=3.3.2 spammy=Repin, Andrey, andrey, repin
X-HELO: mailsrv.cs.umass.edu
Reply-To: moss@cs.umass.edu
Subject: Re: Exclude System entries with "ls" or "find"
To: cygwin@cygwin.com
References: <5c184377.1c69fb81.7df8f.9525@mx.google.com> <20181218081347.GD28727@calimero.vinschen.de> <7831498f-3c06-5810-354e-87c452d3a0e7@SystematicSw.ab.ca> <20181219100622.GF28727@calimero.vinschen.de> <328574974.20181219151038@yandex.ru>
From: Eliot Moss <moss@cs.umass.edu>
Message-ID: <640e5b20-253d-682b-e021-f6b2c95bfd6f@cs.umass.edu>
Date: Wed, 19 Dec 2018 08:29:15 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.3
MIME-Version: 1.0
In-Reply-To: <328574974.20181219151038@yandex.ru>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

On 12/19/2018 7:10 AM, Andrey Repin wrote:
> Greetings, Corinna Vinschen!
> 
>> 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.
> 
> Can something be implemented around getfattr to serve this use case in a more
> POSIX'y way?

I was not previously much aware of get/setfattr, but I agree that that looks
like a possible way to provide access to the Windows SYS attribute and friends.
Not that I am that familiar with details of what NTFS, etc., provide, getfattr
may be a way to provide access to additional attributes / facts about files
(paths, generally) as well.  Sounds like it would not be too hard to support
access to the basic attributes this way.

I suspect the general response will be PTC, though!  :-)

Regards - Eliot Moss

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

