This is the mail archive of the
cygwin-talk@cygwin.com
mailing list for the cygwin project.
RE: ls /dev/*
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Talk Amongst Yourselves <cygwin-talk at cygwin dot com>
- Date: Wed, 3 Nov 2004 15:42:22 -0500 (EST)
- Subject: RE: ls /dev/*
- References: <NUTMEGd7RcN08smyg7H0000046b@NUTMEG.CAM.ARTIMI.COM>
- Reply-to: Talk Amongst Yourselves <cygwin-talk at cygwin dot com>
- Reply-to: Talk Amongst Yourselves <cygwin-talk at cygwin dot com>
On Wed, 3 Nov 2004, Dave Korn wrote:
> > -----Original Message-----
> > From: cygwin-owner On Behalf Of Christopher Faylor
> > Sent: 03 November 2004 15:23
>
> > On Wed, Nov 03, 2004 at 10:12:52AM -0500, Christopher Faylor wrote:
> > >On Tue, Nov 02, 2004 at 10:07:41PM -0800, Andrew DeFaria wrote:
> > >>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/
> > >>
> > >>A C, D and Z drive (the Z drive is to my backup partition on my
> > >>Linux box).
> > >
> > >While, you are welcome to redefine /cygdrive any way you want, the
> > >unix paradigm does not put filesystems under /dev. That is for
> > >devices.
> > >
> > >In any event, this has nothing to do with the actual question. Even
> > >if this was something that makes sense, it doesn't help the OP meet
> > >his goals in any way.
> >
> > Sorry. I should have read further. Apparently the OP just wants
> > *something* in /dev even if it is not what "should" be there.
> >
> > I suggest just making the directory and downloading interesting jpeg
> > images to the directory. That's what I'd do.
>
> In my one I put loads of text files with all the meanest comments off the
> cygwin list! Now when I want to reply to a post I don't even need to write
> anything! 'fortune /dev' in my .sig file does it all for me!
I can just imagine "fortune /dev/random"... :-D
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT