X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Eric Blake Subject: Re: request for /dev/stdin and friends Date: Thu, 16 Nov 2006 16:25:11 +0000 (UTC) Lines: 25 Message-ID: References: <455B18D9 DOT 30504 AT byu DOT net> <20061116104538 DOT GK11304 AT calimero DOT vinschen DOT de> <20061116161103 DOT GN11304 AT calimero DOT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Corinna Vinschen 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 > > , 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/) can see all devices and not just symlinks like /dev/stdin. -- Eric Blake -- 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/