]> git.ipfire.org Git - thirdparty/mdadm.git/commit
mdadm/Build:check the level parameter when build new array
authorZhilong Liu <zlliu@suse.com>
Tue, 28 Mar 2017 13:52:27 +0000 (21:52 +0800)
committerJes Sorensen <Jes.Sorensen@gmail.com>
Tue, 28 Mar 2017 18:26:47 +0000 (14:26 -0400)
commit1b4944f3a1e135871437cc33c26539028e6da5d6
tree46f5f37c3d57a427c1726e54138d2b6807c37a7d
parent2dd271fe7041c2f7036939cf6917c0578b92fefe
mdadm/Build:check the level parameter when build new array

check if user forgets to specify the --level
when build a new array. such as:
./mdadm -B /dev/md0 -n2 /dev/loop[0-1]

Signed-off-by: Zhilong Liu <zlliu@suse.com>
Signed-off-by: Jes Sorensen <Jes.Sorensen@gmail.com>
Build.c