View | Details | Raw Unified | Return to bug 25730 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/src/etc/rc.diskless1 Sun Oct 8 19:18:24 2000 (-9 / +3 lines)
Lines 98-111 Link Here
98
# WARNING! null mounts cannot handle mmap, and since many programs
98
# WARNING! null mounts cannot handle mmap, and since many programs
99
# use mmap (such as 'cp'), we have to copy.
99
# use mmap (such as 'cp'), we have to copy.
100
#
100
#
101
# up to now we don't have make swapon and so we must use malloc
101
mount_mfs -s 2048 -T qp120at dummy /conf/etc
102
#
103
mdconfig -a -t malloc -s 2048 -u 10
104
disklabel -r -w md10 auto 
105
newfs /dev/md10c
106
mount /dev/md10c /conf/etc
107
cp -Rp /etc/* /conf/etc
102
cp -Rp /etc/* /conf/etc
108
chkerr $? "MD mount on /conf/etc"
103
chkerr $? "MFS mount on /conf/etc"
109
104
110
if [ -d /conf/${bootp_ipa} ] ; then
105
if [ -d /conf/${bootp_ipa} ] ; then
111
        cp -Rp /conf/${bootp_ipa}/etc/* /conf/etc
106
        cp -Rp /conf/${bootp_ipa}/etc/* /conf/etc
Lines 117-124 Link Here
117
112
118
# Make the new directory available as /etc
113
# Make the new directory available as /etc
119
#
114
#
120
umount /dev/md10c
115
mount_null /conf/etc /etc
121
mount /dev/md10c /etc
122
116
123
# Tell /etc/rc to run the specified script after
117
# Tell /etc/rc to run the specified script after
124
# it does its mounts but before it does anything
118
# it does its mounts but before it does anything

Return to bug 25730