Skip site navigation (1)Skip section navigation (2)
Date:      20 Feb 2001 14:15:04 +0100
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Luigi Rizzo <luigi@info.iet.unipi.it>
Cc:        Greg Lehey <grog@lemis.com>, 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:  <xzplmr1jy1z.fsf@flood.ping.uio.no>
In-Reply-To: Luigi Rizzo's message of "Tue, 20 Feb 2001 02:28:21 %2B0100 (CET)"
References:  <200102200128.CAA37354@info.iet.unipi.it>

next in thread | previous in thread | raw e-mail | index | archive | help
Luigi Rizzo <luigi@info.iet.unipi.it> 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




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