Alasdair G Kergon wrote:
Speaking about the efficiency, 'dmsetup ls --tree' works well.
However, I haven't yet found a efficient way to implement
'dmsetup info --tree -o inverted dm-0', for example.
Indeed - but what needs this that doesn't also need to scan
everything? mount?
mount, fsck and other blkid based tools could be optimized with it.
However, what I had in mind was system administration like just
using dmsetup or looking /sys to check where a device belongs.
--
Jun'ichi Nomura, NEC Solutions (America), Inc.
--
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel