From owner-cvs-all Sun Jan 28 11:47: 7 2001 Delivered-To: cvs-all@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id C69AB37B699; Sun, 28 Jan 2001 11:46:41 -0800 (PST) Received: from zeppo.feral.com (IDENT:mjacob@zeppo [192.67.166.71]) by feral.com (8.9.3/8.9.3) with ESMTP id LAA02426; Sun, 28 Jan 2001 11:46:34 -0800 Date: Sun, 28 Jan 2001 11:46:32 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: Poul-Henning Kamp Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/conf GENERIC In-Reply-To: <15156.980709856@critter> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > >work on alpha, the example in the man page had to be changes... How about: > > Actually, I'm not even sure you have to specify '-f anything' because the > disk reports the sectorsize as the pagesize I belive. Does it work > without a -f option ? Nope. > > > > >Index: mdconfig.8 > >=================================================================== > >RCS file: /home/ncvs/src/sbin/mdconfig/mdconfig.8,v > >retrieving revision 1.3 > >diff -u -r1.3 mdconfig.8 > >--- mdconfig.8 2001/01/10 14:53:46 1.3 > >+++ mdconfig.8 2001/01/28 18:47:52 > >@@ -170,7 +170,7 @@ > > .Bd -literal -offset indent > > mdconfig -a -t swap -s 128M -u 10 > > disklabel -r -w md10 auto > >-newfs -f 4096 /dev/md10c > >+newfs -f `sysctl -n hw.pagesize` /dev/md10c > > tunefs -n enable /dev/md10c > > mount /dev/md10c /tmp > > .Ed > > > > > > -- > Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 > phk@FreeBSD.ORG | TCP/IP since RFC 956 > FreeBSD committer | BSD since 4.3-tahoe > Never attribute to malice what can adequately be explained by incompetence. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message