On 04/08/13 04:43, Nicolas Thierry-Mieg wrote:
Le 08/04/2013 02:23, mark a écrit :
On 04/07/13 19:53, John R. Dennison wrote:
On Sun, Apr 07, 2013 at 07:35:17PM -0400, mark wrote:
ls -l /dev/fd?
What do you see?
lrwxrwxrwx 1 root root 13 Apr 7 15:03 /dev/fd -> /proc/self/fd/
Interesting as that doesn't match the pattern /dev/fd?
fd0 should have been shown by the ls -l /dev/fd? pattern so is that a broken link?
Ok, ll /dev/fd - which is a directory - shows it pointing to /proc/self/fd/. Under tghat is 0-3, where 0-2 are links to /dev/pts/0, *all* the same. 3 is a link to /proc/5038/fd/, which does not exist.
you were asked to type ls -l /dev/fd? the question mark is part of what you have to type...
Perhaps you didn't understand what I wrote in the paragraph that you cut out. **************************************
If "ls -l /dev/fd0*" does not show a series of device nodes try:
It does - /dev/fd0, along with all 14 sizes of floppies, of a patter /dev/fd0u<disk capacity> **************************************
Now, if that's not clear enough for you, let me rephrase: /dev/fd0 exists, as does the related ones, as far as I know (note that ll for me is aliased to "ls -laF").
brw-rw---- 1 mark floppy 2, 0 Apr 7 15:03 /dev/fd0 brw-rw---- 1 mark floppy 2, 84 Apr 7 15:03 /dev/fd0u1040 brw-rw---- 1 mark floppy 2, 88 Apr 7 15:03 /dev/fd0u1120 brw-rw---- 1 mark floppy 2, 28 Apr 7 15:03 /dev/fd0u1440 brw-rw---- 1 mark floppy 2, 44 Apr 7 15:03 /dev/fd0u1680 brw-rw---- 1 mark floppy 2, 60 Apr 7 15:03 /dev/fd0u1722 brw-rw---- 1 mark floppy 2, 76 Apr 7 15:03 /dev/fd0u1743 brw-rw---- 1 mark floppy 2, 96 Apr 7 15:03 /dev/fd0u1760 brw-rw---- 1 mark floppy 2, 116 Apr 7 15:03 /dev/fd0u1840 brw-rw---- 1 mark floppy 2, 100 Apr 7 15:03 /dev/fd0u1920 brw-rw---- 1 mark floppy 2, 12 Apr 7 15:03 /dev/fd0u360 brw-rw---- 1 mark floppy 2, 16 Apr 7 15:03 /dev/fd0u720 brw-rw---- 1 mark floppy 2, 120 Apr 7 15:03 /dev/fd0u800 brw-rw---- 1 mark floppy 2, 52 Apr 7 15:03 /dev/fd0u820 brw-rw---- 1 mark floppy 2, 68 Apr 7 15:03 /dev/fd0u830
Is that clear enough?
mark