delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/09/05/21:29:23

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: Mon, 5 Sep 2005 21:29:14 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: ls -lrt / shows /dev....
In-Reply-To: <20050906003350.GB11299@trixie.casa.cgf.cx>
Message-ID: <Pine.GSO.4.63.0509052123540.504@slinky.cs.nyu.edu>
References: <Pine DOT OSF DOT 4 DOT 21 DOT 0509060137320 DOT 21721-100000 AT ax0rm1 DOT roma1 DOT infn DOT it> <431CDCCD DOT CAAA95CC AT dessent DOT net> <20050906003350 DOT GB11299 AT trixie DOT casa DOT cgf DOT cx>
MIME-Version: 1.0

On Mon, 5 Sep 2005, Christopher Faylor wrote:

> On Mon, Sep 05, 2005 at 05:03:25PM -0700, Brian Dessent wrote:
> >Angelo Graziosi wrote:
> >
> >> I have noted (with snap 20050901) that now in '/' it appears 'dev'
> >> (virtual) directory (and proc):
> >
> >http://cygwin.com/ml/cygwin/2005-08/msg01098.html
> >
> >> Are the message : 'ls: /dev: No such file or directory',
> >
> >Yes.
> >
> >> and the date:
> >>
> >>              Jan  1  1970 dev
> >>
> >> correct?
> >
> >Correct, but the time probably could be set to something more friendly
> >than the unix epoch.  In this case /dev is a completely synthetic entity
> >so there is no actual timestamp to report.  Maybe it should report the
> >time that the computer was booted.
>
> It really isn't worth the effort to implement this.  Eventually, /dev
> will be something more like a mountable entity but, for now, I thought
> it would be useful for it to show up in / to stop the "/d<tab> doesn't
> show up in command line completion" complaints.
>
> If I've just traded the command line completion complaints for the above
> I guess it wasn't a very good trade.

Unfortunately, command line completion on /d<tab> is pretty useless unless
you can also do /d<tab>nu<tab> and get /dev/null.  As you said, populating
the /dev directory is non-trivial...  Since "mknod" works now, why not
just create the directory?  Hmm, didn't I post a version of
create_devices.sh that uses "mknod"?  FWIW, having /dev as a real
directory also allows things like "cd /dev && ln -s scd0 cdrom && ln -s
dsp audio".
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

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