>>>>> "Karel" == Karel Zak <kzak@xxxxxxxxxx> writes: >> libdisk in XFS is not just partion table reading, but also fs type >> detection and geometry information. The first can now be replaced by >> libblkid, and the latter is no my todo list to add to libblkid >> (including support for Martin's io topology kernel patches). Karel> Do you mean http://oss.oracle.com/~mkp/patches/io-topology/? Karel> Does it work with device-mapper? As Christoph pointed out there are more recent topology patches out there. I'll be pushing out a new kit this week. I have been working closely with Alasdair and Mike Snitzer to get the ball rolling in the DM department. The DM support is going to be split between kernel and userland. The kernel will enforce hard limits and the userland tools will take care of padding and alignment. Karel> Nobody wants to call exec( dmsetup ) from shared library ;-) Way back when I did LVM geometry extraction for XFS I used liblvm. However, this was actively discouraged by the LVM folks who asked me to call the command line utilities instead. I would have preferred a stable LVM library API but they were not interested in maintaining that. That's why libdisk does it that the way it does... -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html