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