Re: regarding major number of block extended devt

From: Tejun Heo
Date: Wed Sep 03 2008 - 20:37:25 EST


H. Peter Anvin wrote:
> 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.

Currently it has to list /sys/block/DEV/DEV[-]N/. With proper
classification, it can do /sys/block/*/partitions/*. We'll need to keep
around symlinks at the root level. It also plays well with how other
subsystems have been changing.

--
tejun
--
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/