[RFC] change in /proc/devices
almesber en lrc.di.epfl.ch
almesber en lrc.di.epfl.ch
Vie Ene 28 01:17:44 CST 2000
Alexander Viro wrote:
> If. They. Are. Splitted. Into major and minor. Which IMO is better to
> avoid if possible.
Hmm, do you indend to make a change that breaks simple arithmetic on
minor numbers, e.g. (minor("/dev/hdax") & ~15) == minor("/dev/hda") ?
Or things like major("/dev/ram7") == RAM_DISK_MAJOR ?
In either case, I guess I need to unearth that recursive FIBMAP
follow-on design that can go from partition to whole disk. (LILO
sometimes wants to check the partition table, and it's better if
it tells you that you're trying to put your boot sector on a RAM
disk before you try to boot from it ;-)
- Werner
--
_________________________________________________________________________
/ Werner Almesberger, ICA, EPFL, CH werner.almesberger en ica.epfl.ch /
/_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610_____________________/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
Más información sobre la lista de distribución Ayuda