From owner-freebsd-current Thu Jun 21 8:23:43 2001 Delivered-To: freebsd-current@freebsd.org Received: from subtopia.informationwave.net (subtopia.informationwave.net [199.74.235.3]) by hub.freebsd.org (Postfix) with ESMTP id 0D5B037B401; Thu, 21 Jun 2001 08:23:26 -0700 (PDT) (envelope-from missnglnk@informationwave.net) Received: by subtopia.informationwave.net (Postfix, from userid 100) id AE3A81C9A3; Thu, 21 Jun 2001 11:15:58 -0400 (EDT) Date: Thu, 21 Jun 2001 11:15:58 -0400 From: Omachonu Ogali To: "Michael C . Wu" Cc: freebsd-small@freebsd.org, freebsd-current@freebsd.org Subject: Re: picobsd and mdconfig Message-ID: <20010621111558.D15323@subtopia.informationwave.net> References: <20010621105232.B15323@subtopia.informationwave.net> <20010621100327.A62866@peorth.iteration.net> <20010621110202.C15323@subtopia.informationwave.net> <20010621101752.B63569@peorth.iteration.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010621101752.B63569@peorth.iteration.net>; from keichii@iteration.net on Thu, Jun 21, 2001 at 10:17:52AM -0500 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Jun 21, 2001 at 10:17:52AM -0500, Michael C . Wu wrote: > On Thu, Jun 21, 2001 at 11:02:02AM -0400, Omachonu Ogali scribbled: > | On Thu, Jun 21, 2001 at 10:03:27AM -0500, Michael C . Wu wrote: > | > On Thu, Jun 21, 2001 at 10:52:32AM -0400, Omachonu Ogali scribbled: > | > | vnconfig has changed to mdconfig in -current, but the > | > | picobsd build script still references vnconfig, also > | > | CONFIG isn't defined anywhere in the script, resulting > | > | in the process dying when it tries to configure the > | > | kernel, a couple of punctuation mods here and there, > | > | and dumped the "vnode is..." log. > | > > | > Hi Omachonu, > | > > | > Do you mind posting a URL with the above patch > | > in unified form? (i.e. diff -u) > | > | http://www.informationwave.net/~missng/freebsd/notsubmitted/picobsd-build.unified.patch > > Attached is my questions about this. > The rest of it looks great. We shouldn't have any problem > with this patch at all. I will test this tonight or at USENIX. > > -- > +-----------------------------------------------------------+ > | keichii@iteration.net | keichii@freebsd.org | > | http://iteration.net/~keichii | Yes, BSD is a conspiracy. | > +-----------------------------------------------------------+ > | --- src/release/picobsd/build/picobsd.orig Thu Jun 21 04:49:46 2001 > | +++ src/release/picobsd/build/picobsd Thu Jun 21 10:08:00 2001 > | @@ -2,3 +2,3 @@ > > | - gzip -9 etc/* > | + for f in `find etc/ -type 'f'` ; do gzip -9 $f ; done > | log "---> Compressed files in etc/ > > Good idea! > > | + newfs -i ${MFS_INODES} -m 0 -p 0 -o space /dev/md${VNUM}c > /dev/null > | + mount /dev/md${VNUM}c ${MFS_MOUNTPOINT} || fail $? no_mount > | + log "`df /dev/md${VNUM}c`" > | } > | @@ -527,3 +518,3 @@ > | log "---> Copy generic floppy_tree into MFS..." > | - cp -Rp ${BUILDDIR}/floppy.tree/* ${MFS_MOUNTPOINT}/fd > | + cp -Rp ${BUILDDIR}/floppy.tree/* ${MFS_MOUNTPOINT}/fd || fail $? ftree_copy > > > | + > | + du -k kernel.gz > | + df -k ${MFS_MOUNTPOINT} > | + cp -p kernel.gz ${MFS_MOUNTPOINT}/kernel || fail $? kernel_copy > > Why do you call du and df? That can be removed, that was just for debugging sake, I wanted to see how big the image is, and how much free space I had available on the floppy, so I could say, 'the image overshoots the floppy by NNN kB' and then work on the space problem from there... -- Omachonu Ogali missnglnk@informationwave.net http://www.informationwave.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message