Lines Matching refs:MD

106 		MD=`mdconfig -a -t swap -s ${CODE_SIZE} -x ${NANO_SECTS} \
112 MD=`mdconfig -a -t vnode -f ${IMG} -x ${NANO_SECTS} \
116 …trap "echo 'Running exit trap code' ; df -i ${MNT} ; umount ${MNT} || true ; mdconfig -d -u $MD" 1…
118 gpart create -s bsd "${MD}"
119 gpart add -t freebsd-ufs -b 16 "${MD}"
122 gpart bootcode -b ${NANO_WORLDDIR}/boot/boot ${MD}
126 gpart list ${MD}
129 populate_slice /dev/${MD}${NANO_PARTITION_ROOT} ${NANO_WORLDDIR} ${MNT} "${NANO_ROOT}"
130 mount /dev/${MD}a ${MNT}
138 dd conv=sparse if=/dev/${MD} of=${NANO_DISKIMGDIR}/_.disk.image bs=64k
140 mdconfig -d -u $MD
159 MD=`mdconfig -a -t swap -s ${NANO_MEDIASIZE} -x ${NANO_SECTS} \
165 MD=`mdconfig -a -t vnode -f ${IMG} -x ${NANO_SECTS} \
185 …nning exit trap code' ; df -i ${MNT} ; nano_umount ${MNT} || true ; mdconfig -d -u $MD" 1 2 15 EXIT
187 sh ${NANO_OBJ}/_.gpart ${MD}
188 gpart show ${MD}
192 gpart bootcode -b ${NANO_WORLDDIR}/${NANO_BOOTLOADER} ${NANO_BOOTFLAGS} ${MD}
196 dd conv=sparse if=${NANO_DISKIMGDIR}/_.disk.image of=/dev/${MD}${NANO_SLICE_ROOT} bs=64k
201 dd conv=sparse if=/dev/${MD}${NANO_SLICE_ROOT} of=/dev/${MD}${NANO_SLICE_ALTROOT} bs=64k
202 mount /dev/${MD}${NANO_ALTROOT} ${MNT}
211 tunefs -L ${NANO_LABEL}"${NANO_ALTROOT}" /dev/${MD}${NANO_ALTROOT}
216 populate_cfg_slice /dev/${MD}${NANO_SLICE_CFG} "${NANO_CFGDIR}" ${MNT} "${NANO_SLICE_CFG}"
225 populate_data_slice /dev/${MD}${NANO_SLICE_DATA} "${NANO_DATADIR}" ${MNT} "${NANO_SLICE_DATA}"
231 dd if=/dev/${MD} of=${NANO_DISKIMGDIR}/_.disk.mbr bs=512 count=1
234 dd if=/dev/${MD} of=${IMG} bs=64k
238 dd conv=sparse if=/dev/${MD} of=${IMG} bs=64k
241 mdconfig -d -u $MD