Mail Archives: cygwin/2004/11/03/16:14:31
On Wed, 3 Nov 2004, Reini Urban wrote:
> Sam Steingold schrieb:
>
> > > * Christopher Faylor [2004-11-03 10:18:18 -0500]:
> > >
> > > On Wed, Nov 03, 2004 at 09:08:44AM -0000, Chris January wrote:
> > >
> > > > > > * Christopher Faylor [2004-11-02 15:01:13 -0500]:
> > > > >
> > > > > > 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.
> > > > >
> > > > > Thanks, I guessed that much. I also know about "PTC".
> > > > > (fhandler_proc.cc is too long,
> > > > > I guess fhandler_dev.cc would be just as long, and I suspect that
> > > > > fhandler_dev.cc is not the only this missing).
> >
> > > My plan was for /dev to go away as a special mount. Now that mknod
> > > works, this is more doable than it was in 2002.
> >
> > Could you please elaborate?
> > are you saying that "/dev/" will go away altogether?
Right now /dev is a virtual directory (or, in CGF's words, "special
mount"). /dev will eventually become a regular directory populated with
device files.
> > where will /dev/clipboard reside?
>
> he meant:
> mkdir /dev
> and populate that with your favorite mknod initializer.
> igor posted one some months ago.
Correction: I posted a script that would create dummy files in /dev, so
that "ls /dev" works. Granted, the script could be adapted to create the
actual device files using mknod.
Igor
> BTW:
> colinux uses /dev/cobd<n>
> I'd really like to try to mount this beast in cygwin also.
> (mke2fs => ddk as in colinux)
--
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!
"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
--
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 -