2002-03-19 21:05:29 +00:00
|
|
|
#!/bin/sh
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
MD=99
|
|
|
|
(
|
|
|
|
for s in 1m 4m 60m 120m 240m 1g
|
|
|
|
do
|
|
|
|
(
|
|
|
|
mdconfig -d -u $MD || true
|
|
|
|
mdconfig -a -t malloc -s $s -u $MD
|
2022-03-17 10:21:06 +00:00
|
|
|
disklabel -w md$MD auto
|
2002-03-19 21:05:29 +00:00
|
|
|
./newfs -R /dev/md${MD}c
|
|
|
|
) 1>&2
|
|
|
|
md5 < /dev/md${MD}c
|
|
|
|
done
|
|
|
|
mdconfig -d -u $MD 1>&2 || true
|
|
|
|
)
|