delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/03/10:21:51

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Wed, 3 Nov 2004 10:21:32 -0500
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Cc: Andrew DeFaria <Andrew AT DeFaria DOT com>
Subject: Re: ls /dev/*
Message-ID: <20041103152132.GF31627@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com, Andrew DeFaria <Andrew AT DeFaria DOT com>
References: <ulldkowjo DOT fsf AT gnu DOT org> <20041102200113 DOT GA22769 AT trixie DOT casa DOT cgf DOT cx> <cm9sjd$vql$1 AT sea DOT gmane DOT org> <u1xfbx9wi DOT fsf AT gnu DOT org>
Mime-Version: 1.0
In-Reply-To: <u1xfbx9wi.fsf@gnu.org>
User-Agent: Mutt/1.4.1i

On Wed, Nov 03, 2004 at 09:52:13AM -0500, Sam Steingold wrote:
>> * Andrew DeFaria <Naqerj AT QrSnevn DOT pbz> [2004-11-02 22:07:41 -0800]:
>>
>> Christopher Faylor wrote:
>>
>>> On Tue, Nov 02, 2004 at 02:55:39PM -0500, Sam Steingold wrote:
>>>
>>>> why isn't /dev a more "usual" directory?
>>>> cd /dev, ls /dev all fail, while
>>>> cat /dev/clipboard works.
>>>
>>> No one has implemented the special handling required for /dev which
>>> would enable things like opendir/readdir or cd to work.
>>
>> Actually I change the cygdrive prefix to dev. Just seems to make sense
>> to me that C: would be /dev/c as apposed to /cygdrive/c, which is longer
>> to type. When I ls /dev I get:
>>
>> $ ls /dev
>> c/  d/  z/
>
>YES!  I think this is a great idea!

Ok.  One of us is pretty confused.  If you want /dev to just contain
any random stuff, then you could just create the directory and populate
it.  You could even populate it with devices if you wanted.

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