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