The -T argument to newfs is only needed if teh disk isn't already labeled.

Since we run disklabel before newfs, this doesn't apply in this case.
This commit is contained in:
John Baldwin 2001-11-20 20:06:21 +00:00
parent 52abff170d
commit 22c4079990
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=86700

View File

@ -105,7 +105,7 @@ dofs_md () {
fi
fi
disklabel -Brw /dev/${MDDEVICE} ${FSLABEL}
newfs -i ${FSINODE} -T ${FSLABEL} -o space -m 0 /dev/${MDDEVICE}c
newfs -i ${FSINODE} -o space -m 0 /dev/${MDDEVICE}c
mount /dev/${MDDEVICE}c ${MNT}