summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2012-04-24 08:00:55 +0000
committerPeter Rajnoha <prajnoha@redhat.com>2012-04-24 08:00:55 +0000
commite0071a863465e11d80755d8f2bf6f4757cde35df (patch)
tree83d6106b061008f9ea07004a45069f15e18ce11f
parent4f9c54bdacfe6bc91c1b87bdf1432d1317dd0ef4 (diff)
downloadlvm2-e0071a863465e11d80755d8f2bf6f4757cde35df.tar.gz
Rename (Blk)DevNames header to (Blk)DevNamesUsed in dmsetup info -c output.
Just to make it clearer since there is the "dmsetup info -c -o blkdevname" as well that shows the "block device name for this mapping", having a "BlkDevName" header on output. It's a bit confusing then if the "dmsetup info -c -o devs_used,blkdevs_used" is named with a plural "DevNames"/"BlkDevNames" but at the same time having a totally different meaning than the singular form "BlkDevName". DevNames --> DevNamesUsed BlkDevNames --> BlkDevNamesUsed ...makes it much more comprehensible.
-rw-r--r--WHATS_NEW_DM1
-rw-r--r--tools/dmsetup.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/WHATS_NEW_DM b/WHATS_NEW_DM
index 57500e95c..e5ceaf3ae 100644
--- a/WHATS_NEW_DM
+++ b/WHATS_NEW_DM
@@ -1,5 +1,6 @@
Version 1.02.75 -
================================
+ Rename (Blk)DevNames header to (Blk)DevNamesUsed in dmsetup info -c output.
Add configure --with-veritysetup for independent veritysetup tool.
Properly support passed in dmevent path in dm_event_register_handler().
Remove dmeventd fifos on exit if they are not managed by systemd.
diff --git a/tools/dmsetup.c b/tools/dmsetup.c
index d29370637..16fddde29 100644
--- a/tools/dmsetup.c
+++ b/tools/dmsetup.c
@@ -2759,9 +2759,9 @@ FIELD_O(INFO, dm_info, NUM, "Targ", target_count, 4, int32, "segments", "Number
FIELD_O(INFO, dm_info, NUM, "Event", event_nr, 6, uint32, "events", "Number of most recent event.")
FIELD_O(DEPS, dm_deps, NUM, "#Devs", count, 5, int32, "device_count", "Number of devices used by this one.")
-FIELD_F(TREE, STR, "DevNames", 8, dm_deps_names, "devs_used", "List of names of mapped devices used by this one.")
+FIELD_F(TREE, STR, "DevNamesUsed", 16, dm_deps_names, "devs_used", "List of names of mapped devices used by this one.")
FIELD_F(DEPS, STR, "DevNos", 6, dm_deps, "devnos_used", "List of device numbers of devices used by this one.")
-FIELD_F(DEPS, STR, "BlkDevNames", 16, dm_deps_blk_names, "blkdevs_used", "List of names of block devices used by this one.")
+FIELD_F(DEPS, STR, "BlkDevNamesUsed", 16, dm_deps_blk_names, "blkdevs_used", "List of names of block devices used by this one.")
FIELD_F(TREE, NUM, "#Refs", 5, dm_tree_parents_count, "device_ref_count", "Number of mapped devices referencing this one.")
FIELD_F(TREE, STR, "RefNames", 8, dm_tree_parents_names, "names_using_dev", "List of names of mapped devices using this one.")