Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/bsdinstall/scripts/mount
Context not available. | |||||
# | # | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
BSDCFG_SHARE="/usr/share/bsdconfig" | |||||
. $BSDCFG_SHARE/common.subr || exit 1 | |||||
TMP_FSTAB=${TMPDIR:-"/tmp"}/bsdinstall-tmp-fstab | TMP_FSTAB=${TMPDIR:-"/tmp"}/bsdinstall-tmp-fstab | ||||
cat $PATH_FSTAB | awk -v BSDINSTALL_CHROOT=$BSDINSTALL_CHROOT '{ | cat $PATH_FSTAB | awk -v BSDINSTALL_CHROOT=$BSDINSTALL_CHROOT '{ | ||||
Context not available. | |||||
mkdir -p $i 2>/dev/null | mkdir -p $i 2>/dev/null | ||||
MNTERROR=`mount -F $TMP_FSTAB $i 2>&1` | MNTERROR=`mount -F $TMP_FSTAB $i 2>&1` | ||||
if [ $? -ne 0 ]; then | if [ $? -ne 0 ]; then | ||||
bsddialog --backtitle "FreeBSD Installer" --title "Error" \ | 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 | ||||
Context not available. |