Re: regarding major number of block extended devt

From: H. Peter Anvin
Date: Wed Sep 03 2008 - 20:28:58 EST


Tejun Heo wrote:

(a) we can't do anything about, but (b) we can, by introducing a
partition number attribute in sysfs.

Yeah, that would certainly be a nice addition. Also, if partitions
are made proper classes, they'll be easily enumerable by
/sys/block/*/partitions/*.

Jens, what do you think?


Note that addition /partitions/ is somewhat unlikely to be useful, since existing code will have to search through random crap in sysfs to look for the partition directories anyway.

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