3cc4938297
the null mount, we currently create a temporary mfs on /tmp, copy /etc to /tmp, then mount /etc as mfs and copy everything back from /tmp, then delete the /tmp mfs. The patch eliminates the temporary /tmp mfs and the subsequent copying and simply populates the /etc mfs by copying from /conf/default/etc. This requires that /conf/default/etc contain a complete copy of all the /etc stuff instead of just overrides. I don't think that is too much of an extra step in setting up a diskless environment. * Provide the ability to make /tmp a memory filesystem independent of /var. This removes the requirement that /tmp be a symlink to /var/tmp and this makes the diskless code work with the default filesystem layout. If a seperate /tmp memory filesystem is created, the 'tmpsize' environment variable is used to determine its size (default to 10 Meg). * Reduce diffs between the -current and -stable versions of these files to a bare minimum. Only the definition of the shell function 'mount_md' is different. Not Objected to by: -arch@, -small@ MFC after: 2 days |
||
---|---|---|
.. | ||
defaults | ||
etc.alpha | ||
etc.amd64 | ||
etc.i386 | ||
isdn | ||
kerberosIV | ||
mtree | ||
namedb | ||
periodic | ||
ppp | ||
rc.d | ||
root | ||
sendmail | ||
amd.map | ||
apmd.conf | ||
auth.conf | ||
crontab | ||
csh.cshrc | ||
csh.login | ||
csh.logout | ||
dhclient.conf | ||
disktab | ||
dm.conf | ||
fbtab | ||
ftpusers | ||
gettytab | ||
group | ||
hosts | ||
hosts.allow | ||
hosts.equiv | ||
hosts.lpd | ||
inetd.conf | ||
locale.alias | ||
login.access | ||
login.conf | ||
MAKEDEV | ||
MAKEDEV.local | ||
Makefile | ||
master.passwd | ||
minfree | ||
modems | ||
motd | ||
netconfig | ||
netstart | ||
network.subr | ||
networks | ||
newsyslog.conf | ||
pam.conf | ||
pccard_ether | ||
phones | ||
pim6dd.conf | ||
pim6sd.conf | ||
primes | ||
printcap | ||
profile | ||
protocols | ||
rc | ||
rc.atm | ||
rc.devfs | ||
rc.diskless1 | ||
rc.diskless2 | ||
rc.firewall | ||
rc.firewall6 | ||
rc.initdiskless | ||
rc.isdn | ||
rc.network | ||
rc.network6 | ||
rc.pccard | ||
rc.resume | ||
rc.serial | ||
rc.shutdown | ||
rc.suspend | ||
rc.syscons | ||
rc.sysctl | ||
remote | ||
rpc | ||
security | ||
services | ||
shells | ||
sysctl.conf | ||
syslog.conf | ||
termcap.small | ||
usbd.conf |