Re: [RFC] change in /proc/devices

Guest section DW (dwguest@win.tue.nl)
Thu, 27 Jan 2000 13:22:03 +0100


On Thu, Jan 27, 2000 at 07:04:44AM -0500, Alexander Viro wrote:

> Excuse me? Names here are without numbers. And while 2100 is readable
> 8448 is _not_.

Probably you understood me perfectly well, but just to be sure:

# ls -l /dev/hde12
brw-rw---- 1 root disk 33, 12 Nov 8 20:48 /dev/hde12

Aha. Users are confronted with 12 (in the name: hde12) and 33,12
(in the ls output). Also the kernel itself (in the boot messages)
will call this partition hde12.

So, if there is some need to print major and minor somewhere,
a decimal version is to be preferred over a hexadecimal version.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/