Use a local disktab instead of requiring "floppy288" to be in

"/etc/disktab" as suggested by Simon Burge.
This commit is contained in:
tron 2002-04-09 13:55:34 +00:00
parent dee24b4393
commit 5108caf1d9
2 changed files with 8 additions and 1 deletions

View File

@ -104,7 +104,7 @@ tmpfs:
"${TMPIM}, ${EN} byte order."
dd if=/dev/zero of=${TMPIM} count=5860
vnconfig -v ${BVND}${RPART} ${TMPIM}
disklabel -rw ${VND} floppy288
disklabel -f ${SRCDIR}/disktab -rw ${VND} floppy288
newfs -B ${EN} -i 500 -b 8192 -f 1024 ${CVND}${MPART}
mkdir ${TMPMP}
mount -o async ${BVND}${MPART} ${TMPMP}

View File

@ -0,0 +1,7 @@
# $NetBSD: disktab,v 1.1 2002/04/09 13:55:34 tron Exp $
floppy288|2.88MB 3.5in Extra High Density Floppy:\
:ty=floppy:se#512:nt#2:rm#300:ns#36:nc#80:\
:pa#5760:oa#0:ba#4096:fa#512:ta=4.2BSD:\
:pb#5760:ob#0:\
:pc#5760:oc#0: