- Use $md instead of md0, which fixes tests when md(4) device is already
present. - Correct message - we create GPT, not MBR. MFC after: 2 weeks
This commit is contained in:
parent
c979bd5e06
commit
e5fa43590a
@ -124,8 +124,8 @@ geli detach ${md}a.eli
|
||||
# 1g to 20m, 2g to 30m and keyfile to tmp.key, and adding -B none
|
||||
# to geli init.
|
||||
|
||||
gpart create -s GPT md0 || echo -n "not "
|
||||
echo ok $i - "Installed an MBR on md0"
|
||||
gpart create -s GPT $md || echo -n "not "
|
||||
echo ok $i - "Installed an GPT on md0"
|
||||
i=$((i + 1))
|
||||
gpart add -s 20m -t freebsd-ufs -i 1 $md || echo -n "not "
|
||||
echo ok $i - "Added a 20m partition in slot 1"
|
||||
|
Loading…
x
Reference in New Issue
Block a user