Current Path : /compat/linux/proc/self/root/usr/src/sbin/newfs/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //compat/linux/proc/self/root/usr/src/sbin/newfs/runtest01.sh |
#!/bin/sh # $FreeBSD: release/9.1.0/sbin/newfs/runtest01.sh 92722 2002-03-19 21:05:29Z phk $ set -e MD=99 ME=98 s=1m mdconfig -d -u $MD || true mdconfig -d -u $ME || true mdconfig -a -t malloc -s $s -u $MD mdconfig -a -t malloc -s $s -u $ME disklabel -r -w md$MD auto disklabel -r -w md$ME auto ./newfs -R /dev/md${MD}c ./newfs -R /dev/md${ME}c if cmp /dev/md${MD}c /dev/md${ME}c ; then echo "Test passed" e=0 else echo "Test failed" e=1 fi mdconfig -d -u $MD || true mdconfig -d -u $ME || true exit $e