From owner-cvs-all Fri Dec 20 16:30:10 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E77837B401; Fri, 20 Dec 2002 16:30:09 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F02243EF1; Fri, 20 Dec 2002 16:30:09 -0800 (PST) (envelope-from dillon@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id gBL0U9fh092261; Fri, 20 Dec 2002 16:30:09 -0800 (PST) (envelope-from dillon@repoman.freebsd.org) Received: (from dillon@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id gBL0U8mj092252; Fri, 20 Dec 2002 16:30:08 -0800 (PST) Message-Id: <200212210030.gBL0U8mj092252@repoman.freebsd.org> From: Matt Dillon Date: Fri, 20 Dec 2002 16:30:08 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/etc rc.diskless1 X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG dillon 2002/12/20 16:30:08 PST Modified files: etc rc.diskless1 Log: Revamp the way rc.diskless1 creates and populates memory filesystems. Make the whole thing generic. That is, /conf/base, /conf/default, /conf/${ipba}, and /conf/${ip} are all handled the same way. Introduce an NFS remounting feature via the /conf/base//diskless_remount so you can avoid dup'ing system directories in /conf (described in rc file). Introduce a memory filesystem sizing feature via the /conf/base//md_size file that allows you to override the default memory filesystem size. Introduce a file containing relative paths to remove for each memory filesystem directory as /conf/base/.remove. Make the cpio feature more generic (applies to any filesystem) (aka /conf/base/.cpio.gz). Allow any root directories to be created as a memory filesystem via the /conf/*/* mechanism. Replace the copyright notice with a reference to the COPYRIGHT file and do other cleanups. (documentation and man page updates to follow). MFC after: 3 days Revision Changes Path 1.18 +152 -72 src/etc/rc.diskless1 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message