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