[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#790941: [PATCH] Support additional arguments to mdadm DOC



Needed for "--layout o2".
Spaces must be substituted by '#'.
---
 doc/devel/partman-auto-raid-recipe.txt | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/doc/devel/partman-auto-raid-recipe.txt b/doc/devel/partman-auto-raid-recipe.txt
index daa7727..87d0fd1 100644
--- a/doc/devel/partman-auto-raid-recipe.txt
+++ b/doc/devel/partman-auto-raid-recipe.txt
@@ -5,12 +5,15 @@ it how to construct the RAID array(s).
 The preseedable parameter partman-auto-raid/recipe should consist of
 recipes separated by periods ("."). The recipes are of the form:
 
-<raidtype> <devcount> <sparecount> <fstype> <mountpoint> <devices> <sparedevices>
+<raidtype> <devcount> <sparecount> <fstype> <mountpoint> <devices> <sparedevices> <extra-args>
 
 where <devices> is a list of the devices to make up the RAID and
 <sparedevices> is a list of the spare devices in the array; devices are
 separated by hashes ("#").
 
+<extra-args> can be used to pass extra arguments to "mdadm --create", like "--layout o2".
+Blanks must be substituted by hashes ("#"), e.g. you have to specify "--layout#o2".
+
 For example:
 d-i partman-auto-raid recipe string  \
   1 2 0 ext3 / /dev/sda1#/dev/sdb1 . \
-- 
1.9.1


Reply to: