summaryrefslogtreecommitdiffstats
path: root/mdadm.8
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@novell.com>2007-05-08 17:17:33 +1000
committerNeil Brown <neilb@suse.de>2007-05-08 17:17:33 +1000
commit54bad3644f4ea8132a789e827d05d2e712b4f547 (patch)
tree2cc04f49d0b3ef104ee2741425e095cf5888d89b /mdadm.8
parent2fb749d1b7588985b1834e43de4ec5685d0b8d26 (diff)
downloadmdadm-54bad3644f4ea8132a789e827d05d2e712b4f547.tar.gz
mdadm-54bad3644f4ea8132a789e827d05d2e712b4f547.tar.xz
mdadm-54bad3644f4ea8132a789e827d05d2e712b4f547.zip
Add --export option to --detail to use key=value pairs.
udev likes to get information about a device as key=value pairs so it can create disk/by-id links etc. So add --export flag which causes the output of --detail to easily parsable. From: Kay Sievers <kay.sievers@novell.com>
Diffstat (limited to 'mdadm.8')
-rw-r--r--mdadm.88
1 files changed, 8 insertions, 0 deletions
diff --git a/mdadm.8 b/mdadm.8
index 11000fd..b0aeaac 100644
--- a/mdadm.8
+++ b/mdadm.8
@@ -910,6 +910,14 @@ Information about what is discovered is presented.
Print detail of one or more md devices.
.TP
+.BR \-Y ", " \-\-export
+When used with
+.BR \-\-detail ,
+output will be formatted as
+.B key=value
+pairs for easy import into the environment.
+
+.TP
.BR \-E ", " \-\-examine
Print content of md superblock on device(s).
.TP