fd06117525
The -r flag is ignored by the FreeBSD implementation of bsdlabel(8)
(also called disklabel(8) in the past). Remove its use from examples
and tests in the tree.
This commit does not touch historical documentation under share/doc/smm
and files under contrib/netbsd-tests.
Reviewed by: imp
MFC after: 2 weeks
Approved by: imp (src)
Fixes: 57dfbec57b
More axe-work:
Differential Revision: https://reviews.freebsd.org/D34585
20 lines
261 B
Bash
20 lines
261 B
Bash
#!/bin/sh
|
|
# $FreeBSD$
|
|
|
|
set -e
|
|
|
|
MD=99
|
|
(
|
|
for s in 1m 4m 60m 120m 240m 1g
|
|
do
|
|
(
|
|
mdconfig -d -u $MD || true
|
|
mdconfig -a -t malloc -s $s -u $MD
|
|
disklabel -w md$MD auto
|
|
./newfs -R /dev/md${MD}c
|
|
) 1>&2
|
|
md5 < /dev/md${MD}c
|
|
done
|
|
mdconfig -d -u $MD 1>&2 || true
|
|
)
|