From owner-cvs-all Sun Jan 28 11:24:41 2001 Delivered-To: cvs-all@freebsd.org Received: from critter.freebsd.dk (flutter.freebsd.dk [212.242.40.147]) by hub.freebsd.org (Postfix) with ESMTP id 76E6437B69B; Sun, 28 Jan 2001 11:24:13 -0800 (PST) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.1/8.11.1) with ESMTP id f0SJOGK15158; Sun, 28 Jan 2001 20:24:16 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: mjacob@feral.com Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/conf GENERIC In-Reply-To: Your message of "Sun, 28 Jan 2001 10:48:39 PST." Date: Sun, 28 Jan 2001 20:24:16 +0100 Message-ID: <15156.980709856@critter> From: Poul-Henning Kamp Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message , Matthew Jacob writes: > >On Sun, 28 Jan 2001, Matthew Jacob wrote: > >> >> > >> One should use md(4) and mdconfig(8) rather than MFS nowadays anyways, which >> > >> does work with DEVFS. >> > > >> > >Uh, I don't think so. MFS should be fixed. With MFS you should be able to take >> > >advantage of VM. I don't think the same applies to md. >> > >> > Try it, and come back with numbers if you think it is worse... >> >> Can't really compare right now, now can I, if MFS is broken ... :-)... >> >> But seriously, I'll be using md a lot from now on and I'll let you know if it >> seems broken.... Like I said in other mail (paraphrasing) "Seems like this >> ought to be a VFS, but I don't really care" > >First comparisons are awkward....but looks good so far.... In order to make it >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 ? > >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