From owner-freebsd-small Tue Feb 20 23:27:20 2001 Delivered-To: freebsd-small@freebsd.org Received: from iguana.aciri.org (iguana.aciri.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id F085A37B503 for ; Tue, 20 Feb 2001 23:27:16 -0800 (PST) (envelope-from rizzo@iguana.aciri.org) Received: (from rizzo@localhost) by iguana.aciri.org (8.11.1/8.11.1) id f1L7R8D73854; Tue, 20 Feb 2001 23:27:08 -0800 (PST) (envelope-from rizzo) From: Luigi Rizzo Message-Id: <200102210727.f1L7R8D73854@iguana.aciri.org> Subject: Re: PicoBSD 0.5 In-Reply-To: <20010221140316.A26140@svzserv.kemerovo.su> from Eugene Grosbein at "Feb 21, 2001 2: 3:16 pm" To: eugen@iname.com Date: Tue, 20 Feb 2001 23:27:08 -0800 (PST) Cc: freebsd-small@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hi! > > When I mount floppy built with PicoBSD 0.5 there is the only file 'kernel'. > With 0.45 I could see /etc and it was easy to modify configuration > (I always include ee) and update floppy, no need to rebuild it. > Is there an option that switches to old style? there is one variable in the picobsd script, INCLUDE_FLOPPY_TREE_IN_MFS, which controls this behaviour. but before you change it, consider that the new system works as follows: 1. all files that used to be in the floppy are initially in the MFS filesystem in the directory /fd ; 2. at boot time, the initial /etc/rc script first copies the files from the mfs copy, then tries to mount the floppy onto /fd and retries to copy the files. If the mount fails (e.g. because there is no floppy, see #4) you still have the initial configuration 3. the update script still saves the files that you specify to the floppy, so at the next boot the updated versions will override the old ones. This reminds me that there is probably a minor problem in the picobsd script, as it does not create empty directories such as /etc and /root on the floppy. I wonder if there is (or we can implement) some "cp" option which creates all the traversed subdirectories if necessary... 4. A case in which you do not have a floppy is when you download the kernel using etherboot or some other diskless booting options. I believe the above method is more convenient than the old one (as it supports network-loading of the kernel) and it saves some space because each file on the floppy consumes a minimum of 512 bytes, whereas the corresponding version in MFS can be smaller as the padding compresses quite well. 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 freebsd-small" in the body of the message