delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/11/20/09:02:13

X-Spam-Check-By: sourceware.org
Date: Mon, 20 Nov 2006 15:01:56 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: request for /dev/stdin and friends
Message-ID: <20061120140156.GC14878@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <455B18D9 DOT 30504 AT byu DOT net> <20061116104538 DOT GK11304 AT calimero DOT vinschen DOT de> <Pine DOT GSO DOT 4 DOT 63 DOT 0611160924200 DOT 10673 AT access1 DOT cims DOT nyu DOT edu> <20061116161103 DOT GN11304 AT calimero DOT vinschen DOT de> <loom DOT 20061116T172156-637 AT post DOT gmane DOT org>
Mime-Version: 1.0
In-Reply-To: <loom.20061116T172156-637@post.gmane.org>
User-Agent: Mutt/1.4.2i
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Nov 16 16:25, Eric Blake wrote:
> Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes:
> 
> > > > So what we should do here IMO is to augment the base-files package
> > > > to create a /dev directory and create a couple of standard symlinks
> > > > in it, which are not covered automatically by the Cygwin DLL.
> > > 
> > > There already was some discussion, ending in
> > > <http://cygwin.com/ml/cygwin-developers/2005-02/msg00010.html>, which
> > > never got a reply...
> > 
> > Isn't your create_devices script adding all the devices handled by
> > Cygwin?  The idea here is slightly different in that the script should
> > only create symlinks in /dev.  Device nodes for the exising Cygwin
> > devices are not actually necessary so we should be careful with them,
> > maybe.
> 
> One of my concerns is that readdir() on /dev works nicely, integrating both 
> symlinks and actual cygwin devices.  Right now, the benefit of Igor's script 
> creating placeholders even for actual devices is that readdir() (and thus 
> ls /dev, or even tab completion when you type /dev/<TAB>) can see all devices 
> and not just symlinks like /dev/stdin.

Yeah, right.  I'm thinking along the same lines.  Consider the situation
that /dev/ is handled automatically at one point in aa udev sort of way.
In that case static device nodes would be in the way.  Or, hmm, maybe not.
But that's why I suggested to be careful for now.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

- Raw text -


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