delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/01/16/13:53:03

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=ToA+asbXypkIrSrzcFET1ZXWyG6gD1cVR4D1solo2q8yNqRtozISx
981H1C0LaLij0znEIKOh/+WTa1tWnOMi9IdkSjTLtMAVVhzNIex6QdQMz+0tumit
WCWNieRox2dnpX3mHJFWeqO2dbtzn+S6ZUiyYd2RE4+OJ9mNWQpJnU=
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=NvRm76OlPsfAib5N0TSGzhHE0KU=; b=Oqt3B3uvWNSjg5PisMpZrvOYtK4f
HIW8J1plRov1Ud5xJpUtJ3vsX4sTrc7sLWFAq5ZR09sdy8m3s05DOpx6OCfH0RXr
MvVagGJPEzAINHLVoy9Yb3cLboJZ26Hi6zY1qUWmapb+Or8gY1UjwZcWCqc7/gNA
aFG4WJbLPRt8trE=
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-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2
X-HELO: mho-02-ewr.mailhop.org
X-Mail-Handler: Dyn Standard SMTP by Dyn
X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX1+Yj2d3bZ8uMkWUAWOrFxuZ
Date: Thu, 16 Jan 2014 13:52:44 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Extended attributes
Message-ID: <20140116185244.GC6786@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <006e01cf1066$c5f0e080$51d2a180$%fedin AT samsung DOT com> <20140113141041 DOT GC21977 AT calimero DOT vinschen DOT de> <002f01cf11ba$df28b550$9d7a1ff0$%fedin AT samsung DOT com> <20140115091530 DOT GH10212 AT calimero DOT vinschen DOT de> <001701cf1281$5fc57150$1f5053f0$%fedin AT samsung DOT com> <20140116091600 DOT GC26205 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <20140116091600.GC26205@calimero.vinschen.de>
User-Agent: Mutt/1.5.20 (2009-06-14)

On Thu, Jan 16, 2014 at 10:16:00AM +0100, Corinna Vinschen wrote:
>On Jan 16 10:08, Pavel Fedin wrote:
>>  Hello!
>> 
>> > >  What do you think about adding other possible namespaces (system,
>> > > security, and... don't remember the 3rd one) ? So that when
>> > > manipulating UNIX archives etc these attributes could be kept along
>> > > with files ? At least we have one use case now.
>> > 
>> > That doesn't make sense.  Extended attributes as implemented by Windows
>> > are user attributes, not system attributes.  The non-user attributes on
>> > Linux have a very special meaning to the kernel and/or are restricted
>> > to privileged users only.  Their functionality is already provided by
>> > other OS functions (as for system.posix_acl_access) or not at all (as
>> > for security.selinux).
>> 
>>  I know they have special meaning. At the other hand, if we allow
>>  them, we will allow to store them on a filesystem. Wouldn't it be
>>  nice ? This is useful at least for SquashFS image preparation.
>>  I guess for similar reasons we have support e. g. for device nodes
>>  (/dev) with their major/minor numbers. They are also ignored by
>>  Cygwin, and just stored on the filesystem (or do i miss something ?).
>
>Yes, the history.  The device nodes were a start to implement actual
>loadable device handler code (application level, not actual device
>drivers), but for some reason it was never fully implemented.

If you're talking about the ability to create a device file anywhere
that was something that I did.  It wasn't to implement loadable device
handlers but just so that we could eventually have a real /dev populated
with device files.  However, we have since gone the route of creating a
pseudo-filesystem /dev so that's no longer necessary.

I also did this to allow the creation of fifos anywhere so that's still
a valid use case.  And, actually, creating a device node anywhere is
certainly something that you need to be able to do if you want to claim
Linux-like functionality.

Device nodes are not (or are not supposed to be) "ignored by Cygwin".

cgf

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

- Raw text -


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