xref: /freebsd/sbin/newfs/runtest00.sh (revision 95eb4b873b6a8b527c5bd78d7191975dfca38998)
1#!/bin/sh
2
3set -e
4
5MD=99
6(
7for s in 1m 4m 60m 120m 240m 1g
8do
9	(
10	mdconfig -d -u $MD || true
11	mdconfig -a -t malloc -s $s -u $MD
12	disklabel -w md$MD auto
13	./newfs -R /dev/md${MD}c
14	) 1>&2
15	md5 < /dev/md${MD}c
16done
17mdconfig -d -u $MD 1>&2 || true
18)
19