xref: /freebsd/sbin/newfs/runtest00.sh (revision 2e3507c25e42292b45a5482e116d278f5515d04d)
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