From owner-cvs-all Wed May 9 8:13:57 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 44AD137B423; Wed, 9 May 2001 08:13:52 -0700 (PDT) (envelope-from bsd@FreeBSD.org) Received: (from bsd@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f49FDqO97980; Wed, 9 May 2001 08:13:52 -0700 (PDT) (envelope-from bsd) Message-Id: <200105091513.f49FDqO97980@freefall.freebsd.org> From: "Brian S. Dean" Date: Wed, 9 May 2001 08:13:51 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/etc rc.diskless1 rc.diskless2 X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG bsd 2001/05/09 08:13:51 PDT Modified files: etc rc.diskless1 rc.diskless2 Log: * Simplify the population of the /etc memory filesystem. To avoid 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 Revision Changes Path 1.10 +5 -15 src/etc/rc.diskless1 1.11 +19 -9 src/etc/rc.diskless2 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message