Messages in this thread | | | Date | Fri, 28 Jan 2000 05:28:52 +0100 | From | almesber@lrc ... | Subject | Re: [RFC] change in /proc/devices |
| |
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@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@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |