RE: ls /dev/*
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Bobby McNulty Sent: Wednesday, November 03, 2004 5:43 PM Sounds like a winner. I'd go along with having cygdrive changed to dev. dev holds all the devices, like aux, con, and others. lpt So why not do away with the unix/linux mount command and just cd /dev/hda1, etc. instead of all the hassle with mount points and file systems, etc. I wonder why ATT never thought of that -- 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/
RE: ls /dev/*
* Christopher Faylor [EMAIL PROTECTED] [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). Is this on anyone's TODO list? Actually it's not that difficult. I've already implemented it once. See this patch: http://www.cygwin.com/ml/cygwin-patches/2002-q2/msg00191.html It was due to be merged sometime around 1.3.12 but I think I and the maintainers forgot about it. Feel free to update the patch to latest CVS and re-submit it. Chris -- 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/
Re: ls /dev/*
* Chris January [EMAIL PROTECTED] [2004-11-03 09:08:44 +]: * Christopher Faylor [EMAIL PROTECTED] [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). Is this on anyone's TODO list? Actually it's not that difficult. I've already implemented it once. See this patch: http://www.cygwin.com/ml/cygwin-patches/2002-q2/msg00191.html It was due to be merged sometime around 1.3.12 but I think I and the maintainers forgot about it. Feel free to update the patch to latest CVS and re-submit it. I am sure it would be much easier for you to update your own patch. Could you please do it? -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.camera.org http://www.iris.org.il http://www.memri.org/ http://www.mideasttruth.com/ http://www.honestreporting.com He who laughs last did not get the joke. -- 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/
Re: ls /dev/*
* Andrew DeFaria [EMAIL PROTECTED] [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! -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.camera.org http://www.iris.org.il http://www.memri.org/ http://www.mideasttruth.com/ http://www.honestreporting.com Every day above ground is a good day. -- 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/
Re: ls /dev/*
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. -- 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/
RE: ls /dev/*
* Chris January [EMAIL PROTECTED] [2004-11-03 09:08:44 +]: * Christopher Faylor [EMAIL PROTECTED] [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). Is this on anyone's TODO list? Actually it's not that difficult. I've already implemented it once. See this patch: http://www.cygwin.com/ml/cygwin-patches/2002-q2/msg00191.html It was due to be merged sometime around 1.3.12 but I think I and the maintainers forgot about it. Feel free to update the patch to latest CVS and re-submit it. I am sure it would be much easier for you to update your own patch. Could you please do it? Oh of course - if you are willing to compensate me for my time... I don't need this feature and am not inclined to work on it voluntarily at the moment. Chris -- 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/
Re: ls /dev/*
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. -- 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/
Re: ls /dev/*
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. To me, a disk drive IS a device. YMMV! :-) 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. How so? What exactly is the OP's problem? As stated cd /dev and ls /dev fail. With my solution both cd and ls work. Sounds like a solution to me! ;-) -- I said NO to drugs, but they didn't listen. -- 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/
Re: ls /dev/*
On Wed, Nov 03, 2004 at 03:20:08PM -, Dave Korn wrote: -Original Message- From: cygwin-owner On Behalf Of Christopher Faylor Sent: 03 November 2004 15:13 On Tue, Nov 02, 2004 at 10:07:41PM -0800, Andrew DeFaria wrote: 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. Indeed. OTOH, renaming your cygdrive prefix to mnt might make quite a lot of sense, even if it's not strictly the same. Kinda like having a handy automounter.. Yup. cgf -- 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/
Re: ls /dev/*
Christopher Faylor wrote: Sorry. I should have read further. Apparently the OP just wants *something* in /dev even if it is not what should be there. The question of should is subjective I would think. I worry sometimes, since /dev is special and a pseudo directory that what I'm doing my break things in some manner. To date it works just fine. And, as I've said, to me, disk drives are devices. Somebody suggested /mnt. To me that's more for remote mounts, so my Z drive might be better suited for /mnt but C and D are local and I would expect them in /dev not /mnt.though one could argue that they too are mounted. Right now we are just talking personal preferences... I suggest just making the directory and downloading interesting jpeg images to the directory. That's what I'd do. Hell a touch /dev/file would work (except other special things in /dev like clipboard will not list - but curiously list with ls /dev/clipboard)! -- I was trying to daydream, but my mind kept wandering. -- 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/
Re: ls /dev/*
Christopher Faylor wrote: On Wed, Nov 03, 2004 at 09:52:13AM -0500, Sam Steingold wrote: * Andrew DeFaria [EMAIL PROTECTED] [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, Who said that? I want dev to contain devices. My disk drives are devices to me. then you could just create the directory and populate it. Oh yeah I could choose some other directory. But why? I could just use /dev. You could even populate it with devices if you wanted. -- I intend to live forever - so far, so good -- 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/
RE: ls /dev/*
On Wed, Nov 03, 2004 at 09:08:44AM -, Chris January wrote: * Christopher Faylor [EMAIL PROTECTED] [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). Is this on anyone's TODO list? Actually it's not that difficult. I've already implemented it once. See this patch: http://www.cygwin.com/ml/cygwin-patches/2002-q2/msg00191.html It was due to be merged sometime around 1.3.12 but I think I and the maintainers forgot about it. Feel free to update the patch to latest CVS and re-submit it. Actually, please don't. I think you misinterpret the discussion in cygwin-developers. Now that you've reacquainted me with the discussion, I remember why it wasn't applied as-is. 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. Ah yes - I remember now why it wasn't committed in the first place. Chris -- 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/
Re: ls /dev/*
Andrew DeFaria wrote: Christopher Faylor wrote: Sorry. I should have read further. Apparently the OP just wants *something* in /dev even if it is not what should be there. The question of should is subjective I would think. I worry sometimes, since /dev is special and a pseudo directory that what I'm doing my break things in some manner. To date it works just fine. And, as I've said, to me, disk drives are devices. Somebody suggested /mnt. To me that's more for remote mounts, so my Z drive might be better suited for /mnt but C and D are local and I would expect them in /dev not /mnt.though one could argue that they too are mounted. Right now we are just talking personal preferences... I suggest just making the directory and downloading interesting jpeg images to the directory. That's what I'd do. Hell a touch /dev/file would work (except other special things in /dev like clipboard will not list - but curiously list with ls /dev/clipboard)! Sounds like a winner. I'd go along with having cygdrive changed to dev. dev holds all the devices, like aux, con, and others. lpt -- 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/
RE: ls /dev/*
-Original Message- From: cygwin-owner On Behalf Of Andrew DeFaria Sent: 03 November 2004 15:38 The question of should is subjective I would think. I worry sometimes, since /dev is special and a pseudo directory that what I'm doing my break things in some manner. To date it works just fine. And, as I've said, to me, disk drives are devices. You should stop talking now, because you're out of your depth. Go away and learn the difference between a physical device and a logical volume, and come back when your comments have any validity. Somebody suggested /mnt. To me that's more for remote mounts, so my Z drive might be better suited for /mnt but C and D are local and I would expect them in /dev not /mnt. You should learn how posix systems work, since there's nothing 'remote' about it. Almost every linux/unix box provides access there to the floppy and CD drive. Would you call them remote devices? Right now we are just talking personal preferences... No, right now you are redefining words humpty-dumpty style to mean whatever you want them to mean. However device and mounted filesystem are two very different things with very clear and well-defined semantics, of which you are merely unaware. cheers, DaveK -- Can't think of a witty .sigline today -- 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/
Re: ls /dev/*
* Christopher Faylor [EMAIL PROTECTED] [2004-11-03 10:18:18 -0500]: On Wed, Nov 03, 2004 at 09:08:44AM -, Chris January wrote: * Christopher Faylor [EMAIL PROTECTED] [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? where will /dev/clipboard reside? Thanks! -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.camera.org http://www.iris.org.il http://www.memri.org/ http://www.mideasttruth.com/ http://www.honestreporting.com There are 3 kinds of people: those who can count and those who cannot. -- 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/
Re: ls /dev/*
Sam Steingold schrieb: * Christopher Faylor [EMAIL PROTECTED] [2004-11-03 10:18:18 -0500]: On Wed, Nov 03, 2004 at 09:08:44AM -, Chris January wrote: * Christopher Faylor [EMAIL PROTECTED] [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? where will /dev/clipboard reside? he meant: mkdir /dev and populate that with your favorite mknod initializer. igor posted one some months ago. BTW: colinux uses /dev/cobdn I'd really like to try to mount this beast in cygwin also. (mke2fs = ddk as in colinux) - Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ -- 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/
Re: ls /dev/*
Andrew DeFaria wrote: While, you are welcome to redefine /cygdrive any way you want, the unix paradigm does not put filesystems under /dev. That is for devices. To me, a disk drive IS a device. YMMV! :-) A disk drive is a device, but /cygdrive/c is not a disk-drive. It's a file-system contained in a partition contained on a disk-drive (usually). In unix-like systems, the disk-drive and the partition are available as devices along with the file-system. The disk-drive in /dev/ is a flat-device. All bytes available sequentially as a single image. I recall that there is a way to access the disks as real devices under NT/2000/XP using some strange notation. It might make sense to mount those under /dev/, but to mount your C-drive there would not be consistant with what /dev/ was designed for. -Rolf -- 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/
Re: ls /dev/*
On Tue, 2 Nov 2004, Sam Steingold wrote: why isn't /dev a more usual directory? cd /dev, ls /dev all fail, while cat /dev/clipboard works. http://cygwin.com/cygwin-ug-net/using-specialnames.html#AEN825 HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,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/
Re: ls /dev/*
On Wed, 3 Nov 2004, Rolf Campbell wrote: Andrew DeFaria wrote: While, you are welcome to redefine /cygdrive any way you want, the unix paradigm does not put filesystems under /dev. That is for devices. To me, a disk drive IS a device. YMMV! :-) A disk drive is a device, but /cygdrive/c is not a disk-drive. It's a file-system contained in a partition contained on a disk-drive (usually). In unix-like systems, the disk-drive and the partition are available as devices along with the file-system. The disk-drive in /dev/ is a flat-device. All bytes available sequentially as a single image. True. I recall that there is a way to access the disks as real devices under NT/2000/XP using some strange notation. What's wrong with using /dev/sda*? It might make sense to mount those under /dev/, They already are: ls /dev/sda, ls /dev/sda1... but to mount your C-drive there would not be consistant with what /dev/ was designed for. True. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,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/
Re: ls /dev/*
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 -, 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/cobdn I'd really like to try to mount this beast in cygwin also. (mke2fs = ddk as in colinux) -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,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/
Re: ls /dev/*
Actually, please don't. I think you misinterpret the discussion in cygwin-developers. Now that you've reacquainted me with the discussion, I remember why it wasn't applied as-is. 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. Why have a real /dev directory? I like having a dynamically populated /dev/-directory. I like Linux's devfs very much, and perhaps udev will be very much like it, but i don't guess that cygwin will have something like udev (an example where devices would be added/removed from /dev is, wehn a new CD-ROM is attached/removed etc.) -- 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/
Re: ls /dev/*
* Christopher Faylor [EMAIL PROTECTED] [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). Is this on anyone's TODO list? -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.camera.org http://www.iris.org.il http://www.memri.org/ http://www.mideasttruth.com/ http://www.honestreporting.com usually: can't pay == don't buy. software: can't buy == don't pay -- 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/
Re: ls /dev/*
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). -- Real programmers don't document. If it was hard to write, it should be to understand. -- 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/