Skip to contentSkip to conversation

devices.txt inconsistency

DISCUSSION Douglas Gilbert 2 participants 2 messages Jan 2, 2001

lore
Share & tools
lore
#0 lore raw

While on this subject, the description of raw devices (char 162) in lk 2.4 is not consistent with current usage.

devices.txt contains this:
162 char Raw block device interface

                  0 = /dev/raw          Raw I/O control device
                  1 = /dev/raw1         First raw I/O device
                  2 = /dev/raw2         Second raw I/O device
                    ...

but something like this would be more accurate:
162 char Raw block device interface

                  0 = /dev/rawctl       Raw I/O control device
                  1 = /dev/raw/raw1     First raw I/O device
                  2 = /dev/raw/raw2     Second raw I/O device
                    ...

The raw(8) command supplied in RH 6.2 and 7.0 assumes the latter structure. I have already alerted sct and this change may be coming through in one of his patches.

Doug Gilbert
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#1 lore raw
Quoted 14 lines · Douglas Gilbert

While on this subject, the description of raw devices (char 162) in lk 2.4 is not consistent with current usage.

devices.txt contains this:
162 char Raw block device interface

                  0 = /dev/raw          Raw I/O control device
                  1 = /dev/raw1         First raw I/O device
                  2 = /dev/raw2         Second raw I/O device
                    ...

but something like this would be more accurate:
162 char Raw block device interface

Quoted 9 lines
                  0 = /dev/rawctl       Raw I/O control device
                  1 = /dev/raw/raw1     First raw I/O device
                  2 = /dev/raw/raw2     Second raw I/O device
                    ...

The raw(8) command supplied in RH 6.2 and 7.0 assumes the latter structure. I have already alerted sct and this change may be coming through in one of his patches.

The latter is actually better, so I certainly don't mind. sct, should I change it?

-hpa

Signature · 7 lines
<[email protected]> at work, <[email protected]> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/