From 54bad3644f4ea8132a789e827d05d2e712b4f547 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Tue, 8 May 2007 17:17:33 +1000 Subject: 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 --- mdadm.8 | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'mdadm.8') diff --git a/mdadm.8 b/mdadm.8 index 11000fd..b0aeaac 100644 --- a/mdadm.8 +++ b/mdadm.8 @@ -909,6 +909,14 @@ Information about what is discovered is presented. .BR \-D ", " \-\-detail 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). -- cgit