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 Date: Wed, 3 Nov 2004 16:13:59 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Reini Urban cc: cygwin AT cygwin DOT com Subject: Re: ls /dev/* In-Reply-To: <4189260F.6000906@x-ray.at> Message-ID: References: <20041103090958 DOT 4EB621B3E5 AT cgf DOT cx> <20041103151818 DOT GE31627 AT trixie DOT casa DOT cgf DOT cx> <4189260F DOT 6000906 AT x-ray DOT at> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.39 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 > 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/