From owner-cvs-all Tue Feb 20 5:15:20 2001 Delivered-To: cvs-all@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id AE93F37B4EC; Tue, 20 Feb 2001 05:15:12 -0800 (PST) (envelope-from des@ofug.org) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id OAA34191; Tue, 20 Feb 2001 14:15:04 +0100 (CET) (envelope-from des@ofug.org) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Luigi Rizzo Cc: Greg Lehey , Luigi Rizzo , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/release/picobsd/build Makefile.mfs References: <200102200128.CAA37354@info.iet.unipi.it> From: Dag-Erling Smorgrav Date: 20 Feb 2001 14:15:04 +0100 In-Reply-To: Luigi Rizzo's message of "Tue, 20 Feb 2001 02:28:21 +0100 (CET)" Message-ID: Lines: 16 User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Luigi Rizzo writes: > > I'm in a plane right now, so I can't look at the change, but I had > > been wondering for some time whether it wouldn't be better to make > > only a minimal subset of device nodes in the fs image, and run MAKEDEV > > or similar after booting. That would save a lot of space. > unfortunately not with the standard MAKEDV: [...] You could write a short Perl script (or C program) that scans a directory and generates C code (using only mkdir(2), mknod(2), symlink(2) and chown(2)) that recreates the device nodes. I suspect the resulting code, when crunched, would consume less space than the device nodes themselves. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message