From owner-freebsd-small Sun Feb 18 1:24:26 2001 Delivered-To: freebsd-small@freebsd.org Received: from plasma.thetac.com (plasma.thetac.com [203.102.212.227]) by hub.freebsd.org (Postfix) with SMTP id D067937B401 for ; Sun, 18 Feb 2001 01:24:20 -0800 (PST) Received: (qmail 25726 invoked from network); 18 Feb 2001 07:30:58 -0000 Received: from station01.thetac.com (203.102.212.238) by plasma.thetac.com with SMTP; 18 Feb 2001 07:30:58 -0000 Message-Id: <5.0.2.1.2.20010218202511.02d31c30@mail.thetac.com> X-Sender: ma000001@mail.thetac.com X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Sun, 18 Feb 2001 20:25:16 +1100 To: freebsd-small@FreeBSD.ORG From: Gary Barnden Subject: Booting Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=====================_152576583==_.ALT" Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --=====================_152576583==_.ALT Content-Type: text/plain; charset="us-ascii"; format=flowed Hello All Problem: It is near impossible to have two FreeBSD partitions on a single HDD and boot between them ( i say this from the point of view that it is impossible to maintain this configuration when doing an upgrade on the Second FBSD Partition). So i was wondering if anyone out there has booted PicoBSD from anyting other than a FreeBSD partition ie DOS, ext2fs etc Thanks Kind regards Gary Barnden (Network Engineer) _______________________________________ Braenet Pty Ltd Corporate Internet Solutions A "Cisco Enabled Regional ISP" 1/59-61 Burrows Road Alexandria NSW 2015 Ph: 1300-368-081 Fax: (02) 9565-1848 Email: g.barnden@braenet.com.au Enquiries: info@braenet.com.au Web: http://www.braenet.com.au --=====================_152576583==_.ALT Content-Type: text/html; charset="us-ascii" Hello All

Problem:

It is near impossible to have two FreeBSD partitions on a single HDD and boot between them ( i say this from the point of view that it is impossible to maintain this configuration when doing an upgrade on the Second FBSD Partition). So i was wondering if anyone out there has booted PicoBSD from anyting other than a FreeBSD partition ie DOS, ext2fs etc

Thanks

Kind regards

Gary Barnden (Network Engineer)
_______________________________________
Braenet Pty Ltd
Corporate Internet Solutions
A "Cisco Enabled Regional ISP"
1/59-61 Burrows Road
Alexandria NSW 2015
Ph: 1300-368-081 Fax: (02) 9565-1848
Email: g.barnden@braenet.com.au
Enquiries: info@braenet.com.au
Web: http://www.braenet.com.au --=====================_152576583==_.ALT-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Sun Feb 18 9:49:40 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 A7AEB37B4EC for ; Sun, 18 Feb 2001 09:49:38 -0800 (PST) Received: (from rizzo@localhost) by iguana.aciri.org (8.11.1/8.11.1) id f1IHnZi27695; Sun, 18 Feb 2001 09:49:35 -0800 (PST) (envelope-from rizzo) From: Luigi Rizzo Message-Id: <200102181749.f1IHnZi27695@iguana.aciri.org> Subject: Re: Booting In-Reply-To: <5.0.2.1.2.20010218202511.02d31c30@mail.thetac.com> from Gary Barnden at "Feb 18, 2001 8:25:16 pm" To: g.barnden@braenet.com.au (Gary Barnden) Date: Sun, 18 Feb 2001 09:49:35 -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 > Hello All > > Problem: > > It is near impossible to have two FreeBSD partitions on a single HDD and > boot between them ( i say this from the point of view that it is impossible > to maintain this configuration when doing an upgrade on the Second FBSD > Partition). So i was wondering if anyone out there has booted PicoBSD from > anyting other than a FreeBSD partition ie DOS, ext2fs etc I am a bit unclear on why you mention picobsd because it seems to me that you would have similar problems. At any rate, with the recent commits that i made to the PicoBSD code in RELENG_4, the kernel is fully self-contained -- it includes the full file system image that you need. So what you could do is just load (from the bootloader) your /kernel.picobsd instead of your standard kernel, and you should have what you need. 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 From owner-freebsd-small Mon Feb 19 1:31: 2 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 56A1237B503 for ; Mon, 19 Feb 2001 01:30:50 -0800 (PST) Received: (from rizzo@localhost) by iguana.aciri.org (8.11.1/8.11.1) id f1J9UkO32063; Mon, 19 Feb 2001 01:30:46 -0800 (PST) (envelope-from rizzo) From: Luigi Rizzo Message-Id: <200102190930.f1J9UkO32063@iguana.aciri.org> Subject: revised picobsd build scripts To: small@freebsd.org Date: Mon, 19 Feb 2001 01:30:46 -0800 (PST) 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, I have tried to cleanup the picobsd build scripts, makefile and config files, in order to: + reduce the number of files and make the config info more compact; + make it possible to put the config info in arbitrary directories and not necessarily in /usr/src/release/picobsd + let the build script (now called "picobsd") be placed somewhere in the path The result (attached) is a single script which replaces most of the existing ones and some of the makefiles. As a matter of fact, i do not think that the use of Makefiles for picobsd builds is so useful, as witnessed by the amount of shell code which is in the previous makefiles. Please have a look at it -- with this script we do not need anymore the Makefile.mfs and Makefile.crunch (nor the main Makefile, which has been broken for ages), and only a single "config" file is required containing a few shell variables with the list of symlinks and device entries to be created. I plan to commit this code very soon, after a little bit of testing to make sure that the images work as before. cheers luigi begin 644 picobsd M'XL(`-[DD#H``[P[>W_:QI9_WA]\BJG,_FI22]C$:5.GI'5LW.4FME,_VF3K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_D@Q9#/!TH%R M/CT]Z9W2#OG-X>-$^X&$7U;P!A"*K?)T:W`?O4U`S\\D*:3'CN#7+`[V&>?5 M:M3#>COF8;UY8`&+P/!I8M).2;/S25I2)B`",ZE(O*=C&R>?<;<_H-ZCY^QW M0*YYHE`'K-=R5)Q?G^RSD[NS^;XYA)_L#C@IJ^9#3MU5X+/Q4]XC!XTT&3)B MC8D2);<"ZV<5]O:PMST4R&WML22B"S]L:EO3:36T'+1L)\CFKIJT'BCW$'G> MC+CK-^)5[U3:R^,F_5J$#3F0<&I[8%F?=E]6\RY: MB"*K8.@$#`3J4X'S20TY7*DA@P1(R=10DF7"`BZ65K!FM$Z0]L5%1(%H4(F$ME;1$ MV6$H<3T?(&NA1"U(G(3U\?BZN65D)TPZ[O=NU,\O8@$1BV'^`*RR*ZKA1@`` ` end To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Tue Feb 20 1:37:21 2001 Delivered-To: freebsd-small@freebsd.org Received: from obsecurity.dyndns.org (adsl-64-165-226-53.dsl.lsan03.pacbell.net [64.165.226.53]) by hub.freebsd.org (Postfix) with ESMTP id D74C737B503 for ; Tue, 20 Feb 2001 01:36:59 -0800 (PST) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 5273566B09; Tue, 20 Feb 2001 01:36:59 -0800 (PST) Date: Tue, 20 Feb 2001 01:36:58 -0800 From: Kris Kennaway To: small@FreeBSD.org Subject: Saving space in mount_* Message-ID: <20010220013658.B34873@mollari.cthul.hu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="7qSK/uQB79J36Y4o" Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --7qSK/uQB79J36Y4o Content-Type: multipart/mixed; boundary="jq0ap7NbKX2Kqbes" Content-Disposition: inline --jq0ap7NbKX2Kqbes Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Does someone want to look at the applicability of this? NetBSD claim to have saved about 1.7MB of space in /sbin through code reuse in mount_* (see attached) Kris --jq0ap7NbKX2Kqbes Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=netbsd-small Content-Transfer-Encoding: quoted-printable =46rom source-changes-owner-kris=3DFreeBSD.org@netbsd.org Mon Oct 30 12:59= :43 2000 Received: from usc.edu (root@usc.edu [128.125.253.136]) by citusc.usc.edu (8.9.3/8.9.3) with ESMTP id MAA05525 for ; Mon, 30 Oct 2000 12:59:43 -0800 Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by usc.edu (8.9.3.1/8.9.3/usc) with ESMTP id MAA02918 for ; Mon, 30 Oct 2000 12:58:26 -0800 (PS= T) Received: from hub.freebsd.org (hub.FreeBSD.org [216.136.204.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 78CCA6E3430 for ; Mon, 30 Oct 2000 12:57:11 -0800 (PST) Received: by hub.freebsd.org (Postfix) id 736BA37B4D7; Mon, 30 Oct 2000 12:57:11 -0800 (PST) Delivered-To: kris@freebsd.org Received: from mail.netbsd.org (mail.netbsd.org [155.53.1.253]) by hub.freebsd.org (Postfix) with SMTP id 28D7537B479 for ; Mon, 30 Oct 2000 12:57:11 -0800 (PST) Received: (qmail 22140 invoked by uid 605); 30 Oct 2000 20:57:04 -0000 Received: (qmail 22134 invoked from network); 30 Oct 2000 20:57:03 -0000 Received: from netbsd.hut.fi (130.233.224.75) by mail.netbsd.org with SMTP; 30 Oct 2000 20:57:03 -0000 Received: (from jdolecek@localhost) by netbsd.hut.fi (8.8.8/8.8.8) id WAA21206; Mon, 30 Oct 2000 22:57:01 +0200 (EET) Date: Mon, 30 Oct 2000 22:57:01 +0200 (EET) From: Jaromir Dolecek Message-Id: <200010302057.WAA21206@netbsd.hut.fi> Subject: CVS commit: basesrc To: source-changes@netbsd.org Reply-To: jdolecek@netbsd.org Sender: source-changes-owner@netbsd.org Precedence: list Delivered-To: source-changes@netbsd.org Status: RO Content-Length: 2625 Lines: 60 Module Name: basesrc Committed By: jdolecek Date: Mon Oct 30 20:57:01 UTC 2000 Modified Files: basesrc/sbin/mount_ados: Makefile mount_ados.c basesrc/sbin/mount_cd9660: mount_cd9660.c basesrc/sbin/mount_ext2fs: mount_ext2fs.c basesrc/sbin/mount_fdesc: mount_fdesc.c basesrc/sbin/mount_ffs: mount_ffs.c basesrc/sbin/mount_filecore: Makefile mount_filecore.c basesrc/sbin/mount_kernfs: mount_kernfs.c basesrc/sbin/mount_lfs: mount_lfs.c basesrc/sbin/mount_msdos: Makefile mount_msdos.c basesrc/sbin/mount_nfs: mount_nfs.c basesrc/sbin/mount_ntfs: Makefile mount_ntfs.c basesrc/sbin/mount_null: mount_null.c basesrc/sbin/mount_overlay: mount_overlay.c basesrc/sbin/mount_procfs: mount_procfs.c basesrc/sbin/mount_umap: mount_umap.c basesrc/sbin/mount_union: mount_union.c Added Files: basesrc/sbin/mount: fattr.c fattr.h Log Message: make the code includable into other programs: * make static all symbols which do not need to be exported * rename main() to mount_FOO() * new main() now just calls mount_FOO(), main() is only compiled in if MOUNT_NOMAIN is not defined * a_gid(), a_uid() and a_mask() were put into ../mount/fattr.[ch], local versions removed To generate a diff of this commit: cvs rdiff -r0 -r1.1 basesrc/sbin/mount/fattr.c basesrc/sbin/mount/fattr.h cvs rdiff -r1.8 -r1.9 basesrc/sbin/mount_ados/Makefile cvs rdiff -r1.11 -r1.12 basesrc/sbin/mount_ados/mount_ados.c cvs rdiff -r1.13 -r1.14 basesrc/sbin/mount_cd9660/mount_cd9660.c cvs rdiff -r1.7 -r1.8 basesrc/sbin/mount_ext2fs/mount_ext2fs.c cvs rdiff -r1.10 -r1.11 basesrc/sbin/mount_fdesc/mount_fdesc.c cvs rdiff -r1.11 -r1.12 basesrc/sbin/mount_ffs/mount_ffs.c cvs rdiff -r1.2 -r1.3 basesrc/sbin/mount_filecore/Makefile cvs rdiff -r1.3 -r1.4 basesrc/sbin/mount_filecore/mount_filecore.c cvs rdiff -r1.11 -r1.12 basesrc/sbin/mount_kernfs/mount_kernfs.c cvs rdiff -r1.10 -r1.11 basesrc/sbin/mount_lfs/mount_lfs.c cvs rdiff -r1.14 -r1.15 basesrc/sbin/mount_msdos/Makefile cvs rdiff -r1.23 -r1.24 basesrc/sbin/mount_msdos/mount_msdos.c cvs rdiff -r1.28 -r1.29 basesrc/sbin/mount_nfs/mount_nfs.c cvs rdiff -r1.3 -r1.4 basesrc/sbin/mount_ntfs/Makefile cvs rdiff -r1.4 -r1.5 basesrc/sbin/mount_ntfs/mount_ntfs.c cvs rdiff -r1.7 -r1.8 basesrc/sbin/mount_null/mount_null.c cvs rdiff -r1.1 -r1.2 basesrc/sbin/mount_overlay/mount_overlay.c cvs rdiff -r1.10 -r1.11 basesrc/sbin/mount_procfs/mount_procfs.c cvs rdiff -r1.10 -r1.11 basesrc/sbin/mount_umap/mount_umap.c cvs rdiff -r1.6 -r1.7 basesrc/sbin/mount_union/mount_union.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =46rom source-changes-owner-kris=3DFreeBSD.org@netbsd.org Mon Oct 30 13:01= :03 2000 Received: from usc.edu (root@usc.edu [128.125.253.136]) by citusc.usc.edu (8.9.3/8.9.3) with ESMTP id NAA05566 for ; Mon, 30 Oct 2000 13:01:03 -0800 Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by usc.edu (8.9.3.1/8.9.3/usc) with ESMTP id MAA04468 for ; Mon, 30 Oct 2000 12:59:46 -0800 (PS= T) Received: from hub.freebsd.org (hub.FreeBSD.org [216.136.204.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EE296E3430 for ; Mon, 30 Oct 2000 12:58:28 -0800 (PST) Received: by hub.freebsd.org (Postfix) id 1C68837B4CF; Mon, 30 Oct 2000 12:58:28 -0800 (PST) Delivered-To: kris@freebsd.org Received: from mail.netbsd.org (mail.netbsd.org [155.53.1.253]) by hub.freebsd.org (Postfix) with SMTP id 0775937B479 for ; Mon, 30 Oct 2000 12:58:28 -0800 (PST) Received: (qmail 22497 invoked by uid 605); 30 Oct 2000 20:58:22 -0000 Received: (qmail 22491 invoked from network); 30 Oct 2000 20:58:22 -0000 Received: from netbsd.hut.fi (130.233.224.75) by mail.netbsd.org with SMTP; 30 Oct 2000 20:58:22 -0000 Received: (from jdolecek@localhost) by netbsd.hut.fi (8.8.8/8.8.8) id WAA21218; Mon, 30 Oct 2000 22:58:20 +0200 (EET) Date: Mon, 30 Oct 2000 22:58:20 +0200 (EET) From: Jaromir Dolecek Message-Id: <200010302058.WAA21218@netbsd.hut.fi> Subject: CVS commit: basesrc To: source-changes@netbsd.org Reply-To: jdolecek@netbsd.org Sender: source-changes-owner@netbsd.org Precedence: list Delivered-To: source-changes@netbsd.org Status: RO Content-Length: 373 Lines: 17 Module Name: basesrc Committed By: jdolecek Date: Mon Oct 30 20:58:20 UTC 2000 Modified Files: basesrc/sbin/mount: fattr.c Log Message: fix copyright (damned copy&paste) To generate a diff of this commit: cvs rdiff -r1.1 -r1.2 basesrc/sbin/mount/fattr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =46rom source-changes-owner-kris=3DFreeBSD.org@netbsd.org Mon Oct 30 13:34= :31 2000 Received: from usc.edu (root@usc.edu [128.125.253.136]) by citusc.usc.edu (8.9.3/8.9.3) with ESMTP id NAA05833 for ; Mon, 30 Oct 2000 13:34:31 -0800 Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by usc.edu (8.9.3.1/8.9.3/usc) with ESMTP id NAA06122 for ; Mon, 30 Oct 2000 13:33:14 -0800 (PS= T) Received: from hub.freebsd.org (hub.FreeBSD.org [216.136.204.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id B831C6E2B65 for ; Mon, 30 Oct 2000 13:31:58 -0800 (PST) Received: by hub.freebsd.org (Postfix) id B390337B4C5; Mon, 30 Oct 2000 13:31:58 -0800 (PST) Delivered-To: kris@freebsd.org Received: from mail.netbsd.org (mail.netbsd.org [155.53.1.253]) by hub.freebsd.org (Postfix) with SMTP id A136437B479 for ; Mon, 30 Oct 2000 13:31:58 -0800 (PST) Received: (qmail 25792 invoked by uid 605); 30 Oct 2000 21:31:53 -0000 Received: (qmail 25785 invoked from network); 30 Oct 2000 21:31:52 -0000 Received: from netbsd.hut.fi (130.233.224.75) by mail.netbsd.org with SMTP; 30 Oct 2000 21:31:52 -0000 Received: (from jdolecek@localhost) by netbsd.hut.fi (8.8.8/8.8.8) id XAA21362; Mon, 30 Oct 2000 23:31:51 +0200 (EET) Date: Mon, 30 Oct 2000 23:31:51 +0200 (EET) From: Jaromir Dolecek Message-Id: <200010302131.XAA21362@netbsd.hut.fi> Subject: CVS commit: basesrc To: source-changes@netbsd.org Reply-To: jdolecek@netbsd.org Sender: source-changes-owner@netbsd.org Precedence: list Delivered-To: source-changes@netbsd.org Status: RO Content-Length: 740 Lines: 24 Module Name: basesrc Committed By: jdolecek Date: Mon Oct 30 21:31:50 UTC 2000 Modified Files: basesrc/sbin: Makefile basesrc/sbin/mount: Makefile mount.c Log Message: mount(8) now includes code for all mount_*(8) but mount_portal(8) and mount_mfs(8); the mount_*(8) are hardlinked to mount (appropriate mount rou= tine is called depending on program name) - this saves approx. 1.7MB of /sbin space mount.c: make all local symbols static To generate a diff of this commit: cvs rdiff -r1.68 -r1.69 basesrc/sbin/Makefile cvs rdiff -r1.14 -r1.15 basesrc/sbin/mount/Makefile cvs rdiff -r1.51 -r1.52 basesrc/sbin/mount/mount.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --jq0ap7NbKX2Kqbes-- --7qSK/uQB79J36Y4o Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6kjq6Wry0BWjoQKURAtVLAJ9SlKLC148KKIoub481nhNdgOMsigCgyh+6 i/RGkuB12Xjzf21IPOLnq48= =Qpet -----END PGP SIGNATURE----- --7qSK/uQB79J36Y4o-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Tue Feb 20 6:13:50 2001 Delivered-To: freebsd-small@freebsd.org Received: from onyx.extra.dp.ua (onyx.extrasy.net [195.248.182.33]) by hub.freebsd.org (Postfix) with ESMTP id 53FF937B401 for ; Tue, 20 Feb 2001 06:13:36 -0800 (PST) (envelope-from white@onyx.extra.dp.ua) Received: (from white@localhost) by onyx.extra.dp.ua (8.10.0/8.10.0/Who.Cares) id f1KECjs00052; Tue, 20 Feb 2001 16:12:45 +0200 (EET) Date: Tue, 20 Feb 2001 16:12:45 +0200 From: Alexander Prohorenko To: Luigi Rizzo Cc: small@freebsd.org Subject: Re: revised picobsd build scripts Message-ID: <20010220161244.A29396@extrasy.net> References: <200102190930.f1J9UkO32063@iguana.aciri.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.9i In-Reply-To: <200102190930.f1J9UkO32063@iguana.aciri.org>; from rizzo@aciri.org on Mon, Feb 19, 2001 at 01:30:46AM -0800 Organization: Extra Solutions X-Operating-System: SunOS 5.7 i86pc Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hey Luigi, On Mon, Feb 19, 2001 at 01:30:46AM -0800, Luigi Rizzo wrote: > The result (attached) is a single script which replaces most of > the existing ones and some of the makefiles. As a matter of fact, > i do not think that the use of Makefiles for picobsd builds > is so useful, as witnessed by the amount of shell code which is > in the previous makefiles. [] > Please have a look at it -- with this script we do not need anymore > the Makefile.mfs and Makefile.crunch (nor the main Makefile, which > has been broken for ages), and only a single "config" file is > required containing a few shell variables with the list of > symlinks and device entries to be created. Can you please provide an example of the "single config file"? 'touch config' is helpfull enough, but still I'd like to know that I'm not missing something ;) > I plan to commit this code very soon, after a little bit of testing to > make sure that the images work as before. Works great with me. However, some more debug enough wouldn't be a waste (I do know about '-v' option! :) As for bugs. uname -v: FreeBSD 4.2-STABLE #3: Tue Feb 13 13:45:36 MST 2001 din@mule.network-lynx.net:/usr/src/sys/compile/MULE The process stops at 'cp' command in the block: if [ "${INCLUDE_FLOPPY_IN_MFS}" = "yes" ]; then cp -Rp ${BUILDDIR}/floppy.tree/* ${MFS_MOUNTPOINT}/fd fi That's correct, because there is no /fd directory on the floppy image. Adding 'mkdir ${MFS_MOUNTPOINT}/fd' before the 'cp' lets me to finish the process. Is this my local problem? The new script is really helpfull. -- Alexander Prohorenko, Extra Solutions http://www.extrasy.net/solutions "Good day to be alive, sir" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Tue Feb 20 8:14: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 9888437B401 for ; Tue, 20 Feb 2001 08:14:18 -0800 (PST) (envelope-from rizzo@iguana.aciri.org) Received: (from rizzo@localhost) by iguana.aciri.org (8.11.1/8.11.1) id f1KGEBA46375; Tue, 20 Feb 2001 08:14:11 -0800 (PST) (envelope-from rizzo) From: Luigi Rizzo Message-Id: <200102201614.f1KGEBA46375@iguana.aciri.org> Subject: Re: revised picobsd build scripts In-Reply-To: <20010220161244.A29396@extrasy.net> from Alexander Prohorenko at "Feb 20, 2001 4:12:45 pm" To: white@extrasy.net (Alexander Prohorenko) Date: Tue, 20 Feb 2001 08:13:17 -0800 (PST) Cc: rizzo@aciri.org, 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 > Can you please provide an example of the "single config file"? just committed the code to -stable yesterday night, with some fixes to the script, mfs.mtree and other files to take care of the bug you reported. cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Tue Feb 20 21:58:33 2001 Delivered-To: freebsd-small@freebsd.org Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by hub.freebsd.org (Postfix) with ESMTP id 040BD37B503 for ; Tue, 20 Feb 2001 21:58:29 -0800 (PST) (envelope-from eugen@www.svzserv.kemerovo.su) Received: (from eugen@localhost) by www.svzserv.kemerovo.su (8.9.3/8.9.3) id MAA22439 for freebsd-small@freebsd.org; Wed, 21 Feb 2001 12:58:22 +0700 (KRAT) (envelope-from eugen) Date: Wed, 21 Feb 2001 12:58:22 +0700 From: Eugene Grosbein To: freebsd-small@freebsd.org Subject: PicoBSD 0.5 build failure at disklabel Message-ID: <20010221125822.B20125@svzserv.kemerovo.su> Reply-To: eugen@iname.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi! I used slightly modified version of PICOBSD-router and it does not build floppy: -> We'll use the sources living in /usr/src -> vnode is 0 -> I hope you have checked the PICOBSD config file... `/usr/src/sys/compile/PICOBSD-pe/kernel' is up to date. gzip: etc/ppp is a directory -- ignored disklabel: ioctl DIOCGDINFO: Inappropriate ioctl for device disklabel: auto: unknown disk type ---> fail: Error <1> error code Error while labeling fs.PICOBSD size 1200 ---> Aborting ./picobsd How can I resolve this? Eugene Grosbein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Tue Feb 20 22: 1:32 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 AC1EF37B491 for ; Tue, 20 Feb 2001 22:01:29 -0800 (PST) (envelope-from rizzo@iguana.aciri.org) Received: (from rizzo@localhost) by iguana.aciri.org (8.11.1/8.11.1) id f1L61St71844; Tue, 20 Feb 2001 22:01:28 -0800 (PST) (envelope-from rizzo) From: Luigi Rizzo Message-Id: <200102210601.f1L61St71844@iguana.aciri.org> Subject: Re: PicoBSD 0.5 build failure at disklabel In-Reply-To: <20010221125822.B20125@svzserv.kemerovo.su> from Eugene Grosbein at "Feb 21, 2001 12:58:22 pm" To: eugen@iname.com Date: Tue, 20 Feb 2001 22:01:28 -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! > I used slightly modified version of PICOBSD-router and it does not build > floppy: i am seeing this problem sometimes but am a bit unsure on the reason. Try adding a '-s labels' to the vnconfig commands and see if the problem goes away 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 From owner-freebsd-small Tue Feb 20 22:27:42 2001 Delivered-To: freebsd-small@freebsd.org Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by hub.freebsd.org (Postfix) with ESMTP id 01BB237B401 for ; Tue, 20 Feb 2001 22:27:39 -0800 (PST) (envelope-from eugen@www.svzserv.kemerovo.su) Received: (from eugen@localhost) by www.svzserv.kemerovo.su (8.9.3/8.9.3) id NAA25073; Wed, 21 Feb 2001 13:27:22 +0700 (KRAT) (envelope-from eugen) Date: Wed, 21 Feb 2001 13:27:22 +0700 From: Eugene Grosbein To: Luigi Rizzo Cc: freebsd-small@FreeBSD.ORG Subject: Re: PicoBSD 0.5 build failure at disklabel Message-ID: <20010221132722.C20125@svzserv.kemerovo.su> Reply-To: eugen@iname.com References: <20010221125822.B20125@svzserv.kemerovo.su> <200102210601.f1L61St71844@iguana.aciri.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200102210601.f1L61St71844@iguana.aciri.org>; from rizzo@aciri.org on Tue, Feb 20, 2001 at 10:01:28PM -0800 Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Feb 20, 2001 at 10:01:28PM -0800, Luigi Rizzo wrote: > > I used slightly modified version of PICOBSD-router and it does not build > > floppy: > > i am seeing this problem sometimes but am a bit unsure on the reason. > Try adding a '-s labels' to the vnconfig commands and see if > the problem goes away Yes, it does. Thank you. Eugene Grosbein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Tue Feb 20 23: 3:22 2001 Delivered-To: freebsd-small@freebsd.org Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by hub.freebsd.org (Postfix) with ESMTP id 9559337B4EC for ; Tue, 20 Feb 2001 23:03:18 -0800 (PST) (envelope-from eugen@www.svzserv.kemerovo.su) Received: (from eugen@localhost) by www.svzserv.kemerovo.su (8.9.3/8.9.3) id OAA28247 for freebsd-small@freebsd.org; Wed, 21 Feb 2001 14:03:16 +0700 (KRAT) (envelope-from eugen) Date: Wed, 21 Feb 2001 14:03:16 +0700 From: Eugene Grosbein To: freebsd-small@freebsd.org Subject: PicoBSD 0.5 Message-ID: <20010221140316.A26140@svzserv.kemerovo.su> Reply-To: eugen@iname.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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? Eugene Grsobein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message 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 From owner-freebsd-small Wed Feb 21 4:12:54 2001 Delivered-To: freebsd-small@freebsd.org Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by hub.freebsd.org (Postfix) with ESMTP id D396137B401 for ; Wed, 21 Feb 2001 04:12:50 -0800 (PST) (envelope-from eugen@www.svzserv.kemerovo.su) Received: (from eugen@localhost) by www.svzserv.kemerovo.su (8.9.3/8.9.3) id TAA56041; Wed, 21 Feb 2001 19:12:38 +0700 (KRAT) (envelope-from eugen) Date: Wed, 21 Feb 2001 19:12:37 +0700 From: Eugene Grosbein To: Luigi Rizzo Cc: freebsd-small@FreeBSD.ORG Subject: Re: PicoBSD 0.5 Message-ID: <20010221191237.B26140@svzserv.kemerovo.su> References: <20010221140316.A26140@svzserv.kemerovo.su> <200102210727.f1L7R8D73854@iguana.aciri.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200102210727.f1L7R8D73854@iguana.aciri.org>; from rizzo@aciri.org on Tue, Feb 20, 2001 at 11:27:08PM -0800 Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Feb 20, 2001 at 11:27:08PM -0800, Luigi Rizzo wrote: > 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. Yes, but my goal is to make floppy that is very configurable at run time and capable of saving configuration changes. For example, I tried to build pico kernel with several drivers for ISA etherenet cards and use /boot/kernel.conf for tuning (enable/disable etc). I see that 'update' script will take care of it. So I made /usr/src/release/picobsd/MY/floppy.tree/boot/kernel.conf, but it does not go into image. Eugene Grosbein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Wed Feb 21 4:18:32 2001 Delivered-To: freebsd-small@freebsd.org Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by hub.freebsd.org (Postfix) with ESMTP id 2DD4937B4EC for ; Wed, 21 Feb 2001 04:18:29 -0800 (PST) (envelope-from eugen@www.svzserv.kemerovo.su) Received: (from eugen@localhost) by www.svzserv.kemerovo.su (8.9.3/8.9.3) id TAA56684; Wed, 21 Feb 2001 19:18:18 +0700 (KRAT) (envelope-from eugen) Date: Wed, 21 Feb 2001 19:18:18 +0700 From: Eugene Grosbein To: Luigi Rizzo Cc: eugen@iname.com, freebsd-small@FreeBSD.ORG Subject: Re: PicoBSD 0.5 Message-ID: <20010221191818.C26140@svzserv.kemerovo.su> References: <20010221140316.A26140@svzserv.kemerovo.su> <200102210727.f1L7R8D73854@iguana.aciri.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200102210727.f1L7R8D73854@iguana.aciri.org>; from rizzo@aciri.org on Tue, Feb 20, 2001 at 11:27:08PM -0800 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. However, after boot completes 'df' says that /dev/md0c has only 1595 1k blocks. Am I missing something? Eugene Grosbein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Wed Feb 21 7:37: 7 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 B9E2437B69B for ; Wed, 21 Feb 2001 07:37:04 -0800 (PST) (envelope-from rizzo@iguana.aciri.org) Received: (from rizzo@localhost) by iguana.aciri.org (8.11.1/8.11.1) id f1LFasB76313; Wed, 21 Feb 2001 07:36:54 -0800 (PST) (envelope-from rizzo) From: Luigi Rizzo Message-Id: <200102211536.f1LFasB76313@iguana.aciri.org> Subject: Re: PicoBSD 0.5 In-Reply-To: <20010221191237.B26140@svzserv.kemerovo.su> from Eugene Grosbein at "Feb 21, 2001 7:12:37 pm" To: eugen@www.svzserv.kemerovo.su (Eugene Grosbein) Date: Wed, 21 Feb 2001 07:36:54 -0800 (PST) Cc: rizzo@aciri.org, 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 > On Tue, Feb 20, 2001 at 11:27:08PM -0800, Luigi Rizzo wrote: > > > 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. > > Yes, but my goal is to make floppy that is very configurable at run time > and capable of saving configuration changes. > For example, I tried to build pico kernel with several drivers for > ISA etherenet cards and use /boot/kernel.conf for tuning (enable/disable etc). > I see that 'update' script will take care of it. > So I made /usr/src/release/picobsd/MY/floppy.tree/boot/kernel.conf, > but it does not go into image. it should be on /fd/boot/kernel.conf -- though i am under the impression that the kernel.conf file must be preloaded by /boot/loader which is not present in picobsd for space reasons. So in order to have a config script one would have to play some trick in /sys/i386/i386/userconfig.c to make it load the config from somewhere -- and i have no idea how to to this in a way that can work from floppy, hd and network. So, for how bad it can be, i believe the only option is to recompile the kernel or free some 100K on the floppy for /boot/loader. 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 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 From owner-freebsd-small Wed Feb 21 19:32:25 2001 Delivered-To: freebsd-small@freebsd.org Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by hub.freebsd.org (Postfix) with ESMTP id C09D437B6AE for ; Wed, 21 Feb 2001 19:32:18 -0800 (PST) (envelope-from eugen@svzserv.kemerovo.su) Received: from svzserv.kemerovo.su (kost.svzserv.kemerovo.su [213.184.65.82]) by www.svzserv.kemerovo.su (8.9.3/8.9.3) with ESMTP id KAA34340 for ; Thu, 22 Feb 2001 10:32:12 +0700 (KRAT) (envelope-from eugen@svzserv.kemerovo.su) Message-ID: <3A948839.9A5D99E0@svzserv.kemerovo.su> Date: Thu, 22 Feb 2001 10:32:09 +0700 From: Eugene Grosbein Organization: SVZServ X-Mailer: Mozilla 4.76 [en] (Win95; U) X-Accept-Language: ru,en MIME-Version: 1.0 To: freebsd-small@FreeBSD.ORG Subject: Re: PicoBSD 0.5 References: <200102211601.f1LG1M276454@iguana.aciri.org> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Luigi Rizzo wrote: > > 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. It is not so annoying (we all know what we are doing :), just confusing. I'd prefer that scripts do not touch kernel config, just eliminate possibility of changing parameter from the build menu. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Wed Feb 21 19:47:34 2001 Delivered-To: freebsd-small@freebsd.org Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by hub.freebsd.org (Postfix) with ESMTP id 0791037B401 for ; Wed, 21 Feb 2001 19:47:30 -0800 (PST) (envelope-from eugen@www.svzserv.kemerovo.su) Received: (from eugen@localhost) by www.svzserv.kemerovo.su (8.9.3/8.9.3) id KAA35505 for freebsd-small@freebsd.org; Thu, 22 Feb 2001 10:47:27 +0700 (KRAT) (envelope-from eugen) Date: Thu, 22 Feb 2001 10:47:27 +0700 From: Eugene Grosbein To: freebsd-small@freebsd.org Subject: PicoBSD from ages of FreeBSD 2.2.5 Message-ID: <20010222104727.A35154@svzserv.kemerovo.su> Reply-To: eugen@iname.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi! I have an image of PicoBSD floppy made by FreeBSD 2.2.5. It contains only one file 'kernel'. Is it possible to unroll its MFS? Eugene Grosbein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Wed Feb 21 20: 5:28 2001 Delivered-To: freebsd-small@freebsd.org Received: from ns2.alphaque.com (ns2.alphaque.com [202.185.254.11]) by hub.freebsd.org (Postfix) with SMTP id D928A37B6CE for ; Wed, 21 Feb 2001 20:05:19 -0800 (PST) (envelope-from dinesh@alphaque.com) Received: (qmail 14954 invoked from network); 22 Feb 2001 04:05:18 -0000 Received: from unknown (HELO prophet.alphaque.com) (209pr3@202.186.175.11) by ns2.alphaque.com with SMTP; 22 Feb 2001 04:05:18 -0000 Received: from localhost (4g10q5@localhost.alphaque.com [127.0.0.1]) by prophet.alphaque.com (8.9.3/8.9.3) with ESMTP id MAA00839 for ; Thu, 22 Feb 2001 12:05:09 +0800 (MYT) (envelope-from dinesh@alphaque.com) Date: Thu, 22 Feb 2001 12:05:09 +0800 (MYT) From: Dinesh Nair To: freebsd-small@freebsd.org Subject: Re: PicoBSD from ages of FreeBSD 2.2.5 In-Reply-To: <20010222104727.A35154@svzserv.kemerovo.su> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 22 Feb 2001, Eugene Grosbein wrote: > It contains only one file 'kernel'. Is it possible to unroll its MFS? unroll in what sense ? --dinesh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Wed Feb 21 22:31: 9 2001 Delivered-To: freebsd-small@freebsd.org Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by hub.freebsd.org (Postfix) with ESMTP id 2C9DB37B401 for ; Wed, 21 Feb 2001 22:31:05 -0800 (PST) (envelope-from eugen@www.svzserv.kemerovo.su) Received: (from eugen@localhost) by www.svzserv.kemerovo.su (8.9.3/8.9.3) id NAA49407; Thu, 22 Feb 2001 13:30:50 +0700 (KRAT) (envelope-from eugen) Date: Thu, 22 Feb 2001 13:30:50 +0700 From: Eugene Grosbein To: Dinesh Nair Cc: freebsd-small@FreeBSD.ORG Subject: Re: PicoBSD from ages of FreeBSD 2.2.5 Message-ID: <20010222133050.A35703@svzserv.kemerovo.su> References: <20010222104727.A35154@svzserv.kemerovo.su> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from dinesh@alphaque.com on Thu, Feb 22, 2001 at 12:05:09PM +0800 Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Feb 22, 2001 at 12:05:09PM +0800, Dinesh Nair wrote: > > It contains only one file 'kernel'. Is it possible to unroll its MFS? > > unroll in what sense ? I need its MTS as a file suitable for vnconfig'ing and then mounting. Eugene Grosbein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Wed Feb 21 23:45:40 2001 Delivered-To: freebsd-small@freebsd.org Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by hub.freebsd.org (Postfix) with ESMTP id 17AD137B4EC for ; Wed, 21 Feb 2001 23:45:37 -0800 (PST) (envelope-from eugen@www.svzserv.kemerovo.su) Received: (from eugen@localhost) by www.svzserv.kemerovo.su (8.9.3/8.9.3) id OAA56125 for freebsd-small@freebsd.org; Thu, 22 Feb 2001 14:45:34 +0700 (KRAT) (envelope-from eugen) Date: Thu, 22 Feb 2001 14:45:34 +0700 From: Eugene Grosbein To: freebsd-small@freebsd.org Subject: PicoBSD and /var/run/dev.db Message-ID: <20010222144534.B35703@svzserv.kemerovo.su> Reply-To: eugen@iname.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi! Is /var/run/dev.db really needed for PicoBSD? Eugene To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Wed Feb 21 23:48: 7 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 4974137B503 for ; Wed, 21 Feb 2001 23:48:05 -0800 (PST) (envelope-from rizzo@iguana.aciri.org) Received: (from rizzo@localhost) by iguana.aciri.org (8.11.1/8.11.1) id f1M7llM82354; Wed, 21 Feb 2001 23:47:47 -0800 (PST) (envelope-from rizzo) From: Luigi Rizzo Message-Id: <200102220747.f1M7llM82354@iguana.aciri.org> Subject: Re: PicoBSD from ages of FreeBSD 2.2.5 In-Reply-To: <20010222133050.A35703@svzserv.kemerovo.su> from Eugene Grosbein at "Feb 22, 2001 1:30:50 pm" To: eugen@iname.com (Eugene Grosbein) Date: Wed, 21 Feb 2001 23:47:47 -0800 (PST) Cc: dinesh@alphaque.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 > On Thu, Feb 22, 2001 at 12:05:09PM +0800, Dinesh Nair wrote: > > > > It contains only one file 'kernel'. Is it possible to unroll its MFS? > > > > unroll in what sense ? > > I need its MTS as a file suitable for vnconfig'ing and then mounting. short of actually booting the kernel image (which would mount the mfs), one option, i suppose, would be to look for something resembling the disklabel and then dd the mfs out cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Thu Feb 22 0:34:19 2001 Delivered-To: freebsd-small@freebsd.org Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by hub.freebsd.org (Postfix) with ESMTP id 0AEE837B4EC for ; Thu, 22 Feb 2001 00:34:16 -0800 (PST) (envelope-from eugen@www.svzserv.kemerovo.su) Received: (from eugen@localhost) by www.svzserv.kemerovo.su (8.9.3/8.9.3) id PAA60820 for freebsd-small@freebsd.org; Thu, 22 Feb 2001 15:34:12 +0700 (KRAT) (envelope-from eugen) Date: Thu, 22 Feb 2001 15:34:12 +0700 From: Eugene Grosbein To: freebsd-small@freebsd.org Subject: PicoBSD 0.5 and mfs_tree Message-ID: <20010222153412.C35703@svzserv.kemerovo.su> Reply-To: eugen@iname.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi! It would be nice if floppy.tree.exclude apply to mfs_tree too. F.e., I don't need /etc/motd, /etc/remote, /etc/shells at all and have no 'official' way to avoid it. Then, I'd like to modify some of files in mfs_tree/etc. Now I have to place my own versions to fd/floppy_tree/etc - bad idea, waisting space. Or modify files directly in mfs_free and next cvsup will eliminate changes. Eugene To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Thu Feb 22 0:39:14 2001 Delivered-To: freebsd-small@freebsd.org Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by hub.freebsd.org (Postfix) with ESMTP id 095C437B401 for ; Thu, 22 Feb 2001 00:39:11 -0800 (PST) (envelope-from eugen@www.svzserv.kemerovo.su) Received: (from eugen@localhost) by www.svzserv.kemerovo.su (8.9.3/8.9.3) id PAA61368 for freebsd-small@FreeBSD.ORG; Thu, 22 Feb 2001 15:39:09 +0700 (KRAT) (envelope-from eugen) Date: Thu, 22 Feb 2001 15:39:09 +0700 From: Eugene Grosbein To: freebsd-small@FreeBSD.ORG Subject: Re: PicoBSD 0.5 and mfs_tree Message-ID: <20010222153909.D35703@svzserv.kemerovo.su> References: <20010222153412.C35703@svzserv.kemerovo.su> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010222153412.C35703@svzserv.kemerovo.su>; from eugen@iname.com on Thu, Feb 22, 2001 at 03:34:12PM +0700 Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Feb 22, 2001 at 03:34:12PM +0700, Eugene Grosbein wrote: > It would be nice if floppy.tree.exclude apply to mfs_tree too. Sorry, I found that I can have entirely own mts_tree. But it is not noted even in comments of build script (top of it). Eugene Grosbein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Thu Feb 22 0:45:55 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 075DA37B401 for ; Thu, 22 Feb 2001 00:45:54 -0800 (PST) (envelope-from rizzo@iguana.aciri.org) Received: (from rizzo@localhost) by iguana.aciri.org (8.11.1/8.11.1) id f1M8jpV82754; Thu, 22 Feb 2001 00:45:51 -0800 (PST) (envelope-from rizzo) From: Luigi Rizzo Message-Id: <200102220845.f1M8jpV82754@iguana.aciri.org> Subject: Re: PicoBSD 0.5 and mfs_tree In-Reply-To: <20010222153412.C35703@svzserv.kemerovo.su> from Eugene Grosbein at "Feb 22, 2001 3:34:12 pm" To: eugen@iname.com Date: Thu, 22 Feb 2001 00:45:51 -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! > > It would be nice if floppy.tree.exclude apply to mfs_tree too. > F.e., I don't need /etc/motd, /etc/remote, /etc/shells at all and > have no 'official' way to avoid it. > > Then, I'd like to modify some of files in mfs_tree/etc. > Now I have to place my own versions to fd/floppy_tree/etc - bad idea, > waisting space. Or modify files directly in mfs_free and next cvsup > will eliminate changes. as a temporary workaround you can set you can set the environmnet variable PICO_TREE before entering the script, and point it to the location where your 'standard' tree is. I agree that one would like more flexibility in excluding/including things, so if you have patches to contribute they are welcome. I believe that the way to achieve this kind of flexibility is to define additional variables in the "config" file which control what goes in and what not, including (possibly) the list of files to exclude from either tree. cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Thu Feb 22 4: 0:23 2001 Delivered-To: freebsd-small@freebsd.org Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by hub.freebsd.org (Postfix) with ESMTP id 62B2F37B4EC for ; Thu, 22 Feb 2001 04:00:18 -0800 (PST) (envelope-from eugen@www.svzserv.kemerovo.su) Received: (from eugen@localhost) by www.svzserv.kemerovo.su (8.9.3/8.9.3) id TAA83321 for freebsd-small@freebsd.org; Thu, 22 Feb 2001 19:00:15 +0700 (KRAT) (envelope-from eugen) Date: Thu, 22 Feb 2001 19:00:15 +0700 From: Eugene Grosbein To: freebsd-small@freebsd.org Subject: strange behavour of passwd Message-ID: <20010222190015.F35703@svzserv.kemerovo.su> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi! When I boot PicoBSD there are /etc/pwd.db and /etc/spwd.db made by mfs_tree/rc from master.passwd, each occupies 40kB. If you type "df;passwd;df" (and do change password) you see that free space descreased, difference is about 40kB. But files are of the same size. If you had not enough free space, passwd will fail. Now type "cd /etc; pwd_mkdb -p ./master.passwd; df" and see, free space is back again. My floppy has enough space to run 'passwd' ones. The second run fails (there is no enougn space to make .tmp copies of [s]pwd.db) if I do not 'pack' hashes with pwd_mkdb, as shown above. The question is: do [s]pwd.db have hole and does 'passwd' destroy it? If so, can it be considered as a bug in 'passwd' ? Eugene Grosbein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Thu Feb 22 8:31:42 2001 Delivered-To: freebsd-small@freebsd.org Received: from onyx.extra.dp.ua (onyx.extrasy.net [195.248.182.33]) by hub.freebsd.org (Postfix) with ESMTP id DC61637B401 for ; Thu, 22 Feb 2001 08:31:14 -0800 (PST) (envelope-from white@onyx.extra.dp.ua) Received: (from white@localhost) by onyx.extra.dp.ua (8.10.0/8.10.0/Who.Cares) id f1MGUwJ15979 for small@freebsd.org; Thu, 22 Feb 2001 18:30:58 +0200 (EET) Date: Thu, 22 Feb 2001 18:30:58 +0200 From: Alexander Prohorenko To: small@freebsd.org Subject: disklabel problems? Message-ID: <20010222183058.C14602@extrasy.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.9i Organization: Extra Solutions X-Operating-System: SunOS 5.7 i86pc Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello guys, After the last CVSup and fixing my Pico release to suit new way of config files, I'm starting getting such error messages: root@mule:/usr/src/release/picobsd/build>./picobsd -v flogw [some scrap skipped] -rw-r--r-- 1 root wheel 201 Feb 19 09:44 ttys.gz (log) enter to continue ---> Preparing MFS filesystem... (log) enter to continue ---> Labeling MFS image (log) enter to continue disklabel: ioctl DIOCGDINFO: Inappropriate ioctl for device disklabel: auto: unknown disk type ---> fail: Error <1> error code Error while labeling fs.PICOBSD size 4000 ---> Aborting ./picobsd Where should I dig to? What I'm doing wrong? Thanks. -- Alexander Prohorenko, Extra Solutions http://www.extrasy.net/solutions "Good day to be alive, sir" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Thu Feb 22 9:49:23 2001 Delivered-To: freebsd-small@freebsd.org Received: from onyx.extra.dp.ua (onyx.extrasy.net [195.248.182.33]) by hub.freebsd.org (Postfix) with ESMTP id E878F37B4EC for ; Thu, 22 Feb 2001 09:46:38 -0800 (PST) (envelope-from white@onyx.extra.dp.ua) Received: (from white@localhost) by onyx.extra.dp.ua (8.10.0/8.10.0/Who.Cares) id f1MHk5Z17169 for small@freebsd.org; Thu, 22 Feb 2001 19:46:05 +0200 (EET) Date: Thu, 22 Feb 2001 19:46:05 +0200 From: Alexander Prohorenko To: small@freebsd.org Subject: Re: disklabel problems? Message-ID: <20010222194605.I14602@extrasy.net> References: <20010222183058.C14602@extrasy.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.9i In-Reply-To: <20010222183058.C14602@extrasy.net>; from white@extrasy.net on Thu, Feb 22, 2001 at 06:30:58PM +0200 Organization: Extra Solutions X-Operating-System: SunOS 5.7 i86pc Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sorry guys. Luigi has already wrote about this: i am seeing this problem sometimes but am a bit unsure on the reason. Try adding a '-s labels' to the vnconfig commands and see if the problem goes away Changing: vnconfig -c vn${VNUM} ${imgname} || fail $? no_vnconfig to: vnconfig -s lables -c vn${VNUM} ${imgname} || fail $? no_vnconfig in init_fs_image() was helpfull. Can somebody please commit this? On Thu, Feb 22, 2001 at 06:30:58PM +0200, Alexander Prohorenko wrote: [] > (log) enter to continue > disklabel: ioctl DIOCGDINFO: Inappropriate ioctl for device > disklabel: auto: unknown disk type > ---> fail: Error <1> error code > Error while labeling fs.PICOBSD size 4000 > ---> Aborting ./picobsd [] -- Alexander Prohorenko, Extra Solutions http://www.extrasy.net/solutions "Good day to be alive, sir" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Thu Feb 22 10: 3:28 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 9A84D37B401 for ; Thu, 22 Feb 2001 10:03:25 -0800 (PST) (envelope-from rizzo@iguana.aciri.org) Received: (from rizzo@localhost) by iguana.aciri.org (8.11.1/8.11.1) id f1MI3IN87299; Thu, 22 Feb 2001 10:03:18 -0800 (PST) (envelope-from rizzo) From: Luigi Rizzo Message-Id: <200102221803.f1MI3IN87299@iguana.aciri.org> Subject: Re: disklabel problems? In-Reply-To: <20010222194605.I14602@extrasy.net> from Alexander Prohorenko at "Feb 22, 2001 7:46: 5 pm" To: white@extrasy.net (Alexander Prohorenko) Date: Thu, 22 Feb 2001 10:03:18 -0800 (PST) Cc: 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 > to: > > vnconfig -s lables -c vn${VNUM} ${imgname} || fail $? no_vnconfig > > in init_fs_image() was helpfull. Can somebody please commit this? just did earlier this morning (PST) luigi > On Thu, Feb 22, 2001 at 06:30:58PM +0200, Alexander Prohorenko wrote: > > [] > > > (log) enter to continue > > disklabel: ioctl DIOCGDINFO: Inappropriate ioctl for device > > disklabel: auto: unknown disk type > > ---> fail: Error <1> error code > > Error while labeling fs.PICOBSD size 4000 > > ---> Aborting ./picobsd > > [] > > -- > Alexander Prohorenko, Extra Solutions > http://www.extrasy.net/solutions > "Good day to be alive, sir" > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-small" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Fri Feb 23 9:33:42 2001 Delivered-To: freebsd-small@freebsd.org Received: from D00015.dialonly.kemerovo.su (www2.svzserv.kemerovo.su [213.184.65.86]) by hub.freebsd.org (Postfix) with ESMTP id A0CC837B491 for ; Fri, 23 Feb 2001 09:33:36 -0800 (PST) (envelope-from eugen@iname.com) Received: from iname.com (eugen@localhost.dialonly.kemerovo.su [127.0.0.1]) by D00015.dialonly.kemerovo.su (8.11.2/8.11.0) with ESMTP id f1NHWbL01820 for ; Sat, 24 Feb 2001 00:32:37 +0700 (KRAT) (envelope-from eugen@iname.com) Message-ID: <3A969EB5.93F9F74E@iname.com> Date: Sat, 24 Feb 2001 00:32:37 +0700 From: Eugene Grosbein Organization: SVZServ X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 4.2-STABLE i386) X-Accept-Language: ru, en MIME-Version: 1.0 To: freebsd-small@freebsd.org Subject: /boot/loader and PicoBSD Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi! I'm trying to include /boot/loader to my picobsd floppy, my system is 4.2-STABLE updated 22 feb. I keep a copy of loader built with PicoBSD from FreeBSD 3.2-S, it's about 83kB. If I just copy it to floppy it works fine and loads kernel. But if I grab /usr/obj/usr/src/sys/boot/i386/loader/loader, do kzip on it, I obtain loader.kz which is about 87kB. It does not load kernel if I use it at /boot/loader. Instead, it says something like Uncompressing kernel... done Booting 0.00 After that strange '0.00' system halts. I understand a difference between 3.2 and 4.2. So, I wonder what is correct way to compress loader for 4.2? I cannot try not compressed loader, it does not fit. Meantime I use a copy of old loader from FreeBSD 3. Eugene Grosbein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message