7 mdconfig
-a -t malloc
-s `expr $sectors + 1` -u $no ||
exit 1
11 geli init
-B none
-P -K /dev
/null md
${no}
18 geli dump md
${no} |
egrep 'flags: 0x0$' >/dev
/null
25 geli init
-B none
-b -P -K /dev
/null md
${no}
32 geli dump md
${no} |
egrep 'flags: 0x2$' >/dev
/null
39 geli configure
-B md
${no}
46 geli dump md
${no} |
egrep 'flags: 0x0$' >/dev
/null
53 geli configure
-b md
${no}
60 geli dump md
${no} |
egrep 'flags: 0x2$' >/dev
/null
67 geli attach
-p -k /dev
/null md
${no}
74 geli list md
${no}.eli |
egrep '^Flags: .*BOOT' >/dev
/null
81 geli configure
-B md
${no}
88 geli list md
${no}.eli |
egrep '^Flags: .*BOOT' >/dev
/null
95 geli dump md
${no} |
egrep 'flags: 0x0$' >/dev
/null
102 geli configure
-b md
${no}
103 if [ $?
-eq 0 ]; then
109 geli list md
${no}.eli |
egrep '^Flags: .*BOOT' >/dev
/null
110 if [ $?
-eq 0 ]; then
116 geli dump md
${no} |
egrep 'flags: 0x2$' >/dev
/null
117 if [ $?
-eq 0 ]; then
124 if [ $?
-eq 0 ]; then