From owner-freebsd-small Sun Oct 1 15:25:30 2000 Delivered-To: freebsd-small@freebsd.org Received: from jamus.xpert.com (jamus.xpert.com [199.203.132.17]) by hub.freebsd.org (Postfix) with ESMTP id 4582037B503 for ; Sun, 1 Oct 2000 15:25:26 -0700 (PDT) Received: from roman (helo=localhost) by jamus.xpert.com with local-esmtp (Exim 3.12 #5) id 13frXy-0001e5-00 for freebsd-small@freebsd.org; Mon, 02 Oct 2000 00:25:26 +0200 Date: Mon, 2 Oct 2000 00:25:26 +0200 (IST) From: Roman Shterenzon To: freebsd-small@freebsd.org Subject: [patch] for net flavor 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 Hello, I forgot to include this patch to make net work. Since all files in etc on floppy are gzipped: --- /usr/src/release/picobsd/net/floppy.tree/etc/mfs.rc Sat Aug 28 04:33:40 1999 +++ release/picobsd/net/floppy.tree/etc/mfs.rc Fri Sep 29 18:45:01 2000 @@ -26,6 +26,7 @@ cd /start_floppy/etc cp -Rp . /etc/ cd /etc +gzip -d *.gz pwd_mkdb -p ./master.passwd umount /start_floppy echo "Ok. (Now you can remove floppy if you like)" -- And a patch for update script: --- /usr/src/release/picobsd/floppy.tree/etc/update Tue Feb 8 16:20:54 2000 +++ update Fri Sep 29 18:37:08 2000 @@ -1,7 +1,7 @@ #!/bin/sh # $FreeBSD: src/release/picobsd/floppy.tree/etc/update,v 1.1 2000/02/08 14:20:54 luigi Exp $ pwd=`pwd` -set `df /` ; dev="/dev/$8" +dev="/dev/fd0" echo -n "Updating /etc contents on ${dev}... " mount ${dev} /mnt if [ "X$?" != "X0" ] ; then @@ -12,7 +12,10 @@ cd /etc rm *.db rm passwd -cp -Rp . /mnt/etc/ +for i in * +do + gzip -9 $i > /mnt/etc/$i.gz +done pwd_mkdb master.passwd echo " Done." echo -n "Updating kernel parameters... " -- haven't tried the modified update though, perhaps I'm missing something. The original fails for sure :) --Roman Shterenzon, UNIX System Administrator and Consultant [ Xpert UNIX Systems Ltd., Herzlia, Israel. Tel: +972-9-9522361 ] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message