Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2001 02:28:21 +0100 (CET)
From:      Luigi Rizzo <luigi@info.iet.unipi.it>
To:        Greg Lehey <grog@lemis.com>
Cc:        Luigi Rizzo <luigi@FreeBSD.ORG>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/release/picobsd/build Makefile.mfs
Message-ID:  <200102200128.CAA37354@info.iet.unipi.it>
In-Reply-To: <20010219094350.C20320@sydney.worldwide.lemis.com> from Greg Lehey at "Feb 19, 2001 09:43:50 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102200128.CAA37354>