[dm-devel] [PATCH] libdevmapper: (6/6) Add deps and treenode fields for dmsetup info -c

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


Hi,

This patch adds optional fields to 'dmsetup info -c'.
You can specify the following fields with '-o', '-O' and filtering option.
  - deps
  - deps_count
  - parents
  - parents_count

For example, you can find the top-level dm devices by:
  # dmsetup info -c -o name --filter 'parents_count == 0'

Thanks,
-- 
Jun'ichi Nomura, NEC Corporation of America
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmsetup-info-add-deps-columns.patch
Type: text/x-patch
Size: 10148 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20070418/4286e231/attachment.bin>


More information about the dm-devel mailing list