[dm-devel] [PATCH] libdevmapper: (0/6) Filtering feature in dm_report

Jun'ichi Nomura j-nomura at ce.jp.nec.com
Wed Apr 18 16:41:59 UTC 2007


Hi,

This series of patches enables dmsetup to control which  types
of devices are listed.
For example, "dmsetup info -c -o name --filter 'parents_count == 0'"
will display top-level dm devices and
"dmsetup info -c --filter 'uuid !~ /^LVM/'" will display
dm devices which are not LVM2 volumes.

As the feature is implemented in libdevmapper, LVM2 is easily
made to use it, too. The patch will be posted to lvm-devel.

Thanks,
-- 
Jun'ichi Nomura, NEC Corporation of America




More information about the dm-devel mailing list