From e50cf22073d583984d7592efb3a97047be0abfd4 Mon Sep 17 00:00:00 2001 From: Maciej Naruszewicz Date: Tue, 2 Oct 2012 16:28:30 +1000 Subject: imsm: Add --export option for --detail-platform This option will provide most of information we can get via mdadm --detail-platform [-e format] in the key=value format. Example output: $ mdadm --detail-platform Platform : Intel(R) Matrix Storage Manager Version : 9.5.0.1037 RAID Levels : raid0 raid1 raid10 raid5 Chunk Sizes : 4k 8k 16k 32k 64k 128k 2TB volumes : supported 2TB disks : not supported Max Disks : 7 Max Volumes : 2 per array, 4 per controller I/O Controller : /sys/devices/pci0000:00/0000:00:1f.2 (SATA) $ mdadm --detail-platform --export MD_FIRMWARE_TYPE=imsm IMSM_VERSION=9.5.0.1037 IMSM_SUPPORTED_RAID_LEVELS=raid0 raid1 raid10 raid5 IMSM_SUPPORTED_CHUNK_SIZES=4k 8k 16k 32k 64k 128k IMSM_2TB_VOLUMES=yes IMSM_2TB_DISKS=no IMSM_MAX_DISKS=7 IMSM_MAX_VOLUMES_PER_ARRAY=2 IMSM_MAX_VOLUMES_PER_CONTROLLER=4 Signed-off-by: Maciej Naruszewicz Signed-off-by: NeilBrown --- mdadm.8.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mdadm.8.in') diff --git a/mdadm.8.in b/mdadm.8.in index 33919bd2..38c8bc86 100644 --- a/mdadm.8.in +++ b/mdadm.8.in @@ -1321,7 +1321,7 @@ topology) for a given metadata format. .TP .BR \-Y ", " \-\-export When used with -.B \-\-detail +.B \-\-detail , \-\-detail-platform or .BR \-\-examine , output will be formatted as -- cgit v1.2.3