From owner-freebsd-small Wed Feb 21 8: 2: 5 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 4AD3037B6AD for ; Wed, 21 Feb 2001 08:02:03 -0800 (PST) (envelope-from rizzo@iguana.aciri.org) Received: (from rizzo@localhost) by iguana.aciri.org (8.11.1/8.11.1) id f1LG1M276454; Wed, 21 Feb 2001 08:01:22 -0800 (PST) (envelope-from rizzo) From: Luigi Rizzo Message-Id: <200102211601.f1LG1M276454@iguana.aciri.org> Subject: Re: PicoBSD 0.5 In-Reply-To: <20010221191818.C26140@svzserv.kemerovo.su> from Eugene Grosbein at "Feb 21, 2001 7:18:18 pm" To: eugen@www.svzserv.kemerovo.su (Eugene Grosbein) Date: Wed, 21 Feb 2001 08:01:22 -0800 (PST) Cc: rizzo@aciri.org, eugen@iname.com, 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 > One more question. > I made floppy with MFS sized 1700kB. > I found 3 places when I must set this value: 2 time in the kernel config > (picobsd parameterl line and MD_ROOT_SIZE) and one time in build menu. the value in the build-menu is read from PICOBSD so at least you can save that one. I agree that it is annoying to have to set it explicitly also in MD_ROOT_SIZE. I believe future versions of the picobsd script should read the picobsd parameters from a single place (probably the "config" file in the directory) and manipulate the kernel config file to insert the appropriate option. > However, after boot completes 'df' says that /dev/md0c has > only 1595 1k blocks. Am I missing something? those are the blocks available for data, after some space has been used for the boot blocks (8KB), label and inodes. If you look at picobsd.bin, you see that the real data (kernel) begins at offset 0xb000 in the file -- i.e. some 36KB are lost in filesystem baggage. Some of this space can be recovered, but i am not sure how. One note-- disklabel 'auto' seems to create blocks of 1k/8k by default, so you might want to add -b 4096 -f 512 options to newfs to make it use smaller blocks in the memory image. Not that this is a problem, but just in case... 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