summaryrefslogtreecommitdiffstats
path: root/config.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2006-12-14 17:31:10 +1100
committerNeil Brown <neilb@suse.de>2006-12-14 17:31:10 +1100
commit757234466509aae6221c2cb96e8366f41ba7e532 (patch)
treec6bebe56053849971f8f2b7fad638bbc125d50a8 /config.c
parentd645b91a1baf44e4674900f1124841fe6c0a2410 (diff)
downloadmdadm-757234466509aae6221c2cb96e8366f41ba7e532.tar.gz
mdadm-757234466509aae6221c2cb96e8366f41ba7e532.tar.xz
mdadm-757234466509aae6221c2cb96e8366f41ba7e532.zip
Default to --auto=yes
so the array devices with 'standard' names get created automatically, as this is almost always what is wanted.
Diffstat (limited to 'config.c')
-rw-r--r--config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.c b/config.c
index 38e911a..7101c3b 100644
--- a/config.c
+++ b/config.c
@@ -255,6 +255,7 @@ mddev_dev_t load_partitions(void)
}
struct createinfo createinfo = {
+ .autof = 2, /* by default, create devices with standard names */
.symlinks = 1,
#ifdef DEBIAN
.gid = 6, /* disk */