1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00

Don't offer to mount a to-be-overwritten DOS partition.

This commit is contained in:
Andrew Moore 1994-03-01 23:51:48 +00:00
parent 3b25168637
commit 9bf051a923
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=1228

View File

@ -761,7 +761,7 @@ while [ $part_used -lt $partition ]; do
fi
done
if [ "$have_dos_part" -a "$have_dos_part" != "$opsys_part" -a \
"$RUN_FDISK" != "overwrite" -a ! "$hname" ]; then
"$RUN_FDISK" != "" -a "$RUN_FDISK" != "overwrite" -a ! "$hname" ]; then
echo
echo "There appears to be a MS-DOS filesystem on the hard disk."
echo -n "Make this be accessible from ${OPSYSTEM}? [y] "