mainstream-format fstab format
. detect both formats in /etc/rc . generate new format in setup . obsoletes /etc/fstab.local: everything can go in /etc/fstab . put shutdown/reboot/halt and a copy of /usr/adm/wtmp (/etc/wtmp) on root FS so that we can do shutdown checks before mounting /usr . new fstab format makes getfsent() and friends work
This commit is contained in:
@@ -469,7 +469,7 @@ mkfs.mfs -B $blocksizebytes /dev/$usr || exit
|
||||
|
||||
if [ "$nohome" = 0 ]
|
||||
then
|
||||
fshome="home=/dev/$home"
|
||||
fshome="/dev/$home /home mfs rw 0 2"
|
||||
else fshome=""
|
||||
fi
|
||||
|
||||
@@ -503,11 +503,8 @@ ln -s /usr/log /mnt/var/log
|
||||
|
||||
# CD remnants that aren't for the installed system
|
||||
rm /mnt/etc/issue /mnt/CD /mnt/.* 2>/dev/null
|
||||
echo >/mnt/etc/fstab "\
|
||||
# Poor man's File System Table.
|
||||
|
||||
root=/dev/$root
|
||||
usr=/dev/$usr
|
||||
echo >/mnt/etc/fstab "/dev/$root / mfs rw 0 1
|
||||
/dev/$usr /usr mfs rw 0 2
|
||||
$fshome"
|
||||
|
||||
# National keyboard map.
|
||||
|
||||
Reference in New Issue
Block a user