From owner-cvs-all Tue Feb 20 8:59:15 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 0467537B4EC; Tue, 20 Feb 2001 08:59:09 -0800 (PST) (envelope-from des@ofug.org) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id RAA34981; Tue, 20 Feb 2001 17:59:03 +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: <200102201624.RAA43130@info.iet.unipi.it> From: Dag-Erling Smorgrav Date: 20 Feb 2001 17:59:02 +0100 In-Reply-To: Luigi Rizzo's message of "Tue, 20 Feb 2001 17:24:17 +0100 (CET)" Message-ID: Lines: 14 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: > > 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. > do you know how much space (bytes) is consumed by one device entry ? One directory entry + one inode. I don't know the actual size of either of these. 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