Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/bsdinstall/scripts/mount
Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Lines | bsddialog --backtitle "$OSNAME Installer" --title "Error" \ | ||||
--msgbox "Error mounting partition $i:\n$MNTERROR" 0 0 | --msgbox "Error mounting partition $i:\n$MNTERROR" 0 0 | ||||
exit 1 | exit 1 | ||||
fi | fi | ||||
done | done | ||||
# User might want a shell and require devfs, so mount it | # User might want a shell and require devfs, so mount it | ||||
mkdir $BSDINSTALL_CHROOT/dev 2>/dev/null | mkdir $BSDINSTALL_CHROOT/dev 2>/dev/null | ||||
mount -t devfs devfs $BSDINSTALL_CHROOT/dev | mount -t devfs devfs $BSDINSTALL_CHROOT/dev | ||||
# If installing from the DVD, mount packages where they'll be accessible | |||||
if [ -d /packages ]; then | |||||
mkdir -p $BSDINSTALL_CHROOT/dist/packages | |||||
mount -t nullfs /packages $BSDINSTALL_CHROOT/dist/packages | |||||
fi | |||||
gjb: Where does this get umounted? Is that implied but the subsequent change to the scripts/umount… | |||||
Done Inline ActionsExactly. Both bsdinstall auto and bsdintall script will call bsdinstall mount/bsdinstall umount as a pair. asomers: Exactly. Both `bsdinstall auto` and `bsdintall script` will call `bsdinstall… |
Where does this get umounted? Is that implied but the subsequent change to the scripts/umount script?