Re: [RFC] change in /proc/devices

From: Guest section DW (dwguest@win.tue.nl)
Date: Thu Jan 27 2000 - 07:22:03 EST


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/



This archive was generated by hypermail 2b29 : Mon Jan 31 2000 - 21:00:18 EST