From owner-cvs-all Mon Feb 19 17:29:11 2001 Delivered-To: cvs-all@freebsd.org Received: from info.iet.unipi.it (info.iet.unipi.it [131.114.9.184]) by hub.freebsd.org (Postfix) with ESMTP id 017ED37B491; Mon, 19 Feb 2001 17:29:05 -0800 (PST) Received: (from luigi@localhost) by info.iet.unipi.it (8.9.3/8.9.3) id CAA37354; Tue, 20 Feb 2001 02:28:22 +0100 (CET) (envelope-from luigi) From: Luigi Rizzo Message-Id: <200102200128.CAA37354@info.iet.unipi.it> Subject: Re: cvs commit: src/release/picobsd/build Makefile.mfs In-Reply-To: <20010219094350.C20320@sydney.worldwide.lemis.com> from Greg Lehey at "Feb 19, 2001 09:43:50 am" To: Greg Lehey Date: Tue, 20 Feb 2001 02:28:21 +0100 (CET) Cc: Luigi Rizzo , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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: > ls -l /dev/MAKEDEV -r-xr-xr-x 1 root wheel 38043 Nov 20 13:03 /dev/MAKEDEV > gzip < /dev/MAKEDEV | wc -c 10415 which additionally relies on external programs such as expr, mknod, chmod and ln which you might not need to have on the image no matter how small are they (expr is another 4KB compressed...) Not sure how much space is consumed by each device node but probably just 16-32 bytes so before we reach a break-even point we do not have space problems anymore because we would need a ton of inodes. (for the records, i _did_ try this sometime last year...) cheers luigi ----------------------------------+----------------------------------------- Luigi RIZZO, luigi@iet.unipi.it . ACIRI/ICSI (on leave from Univ. di Pisa) http://www.iet.unipi.it/~luigi/ . 1947 Center St, Berkeley CA 94704 Phone (510) 666 2927 . ----------------------------------+----------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message