From owner-cvs-all Tue Jan 30 15:33:50 2001 Delivered-To: cvs-all@freebsd.org Received: from bazooka.unixfreak.org (bazooka.unixfreak.org [63.198.170.138]) by hub.freebsd.org (Postfix) with ESMTP id 0800737B6D7; Tue, 30 Jan 2001 15:33:25 -0800 (PST) Received: by bazooka.unixfreak.org (Postfix, from userid 1000) id C589C3E02; Tue, 30 Jan 2001 15:33:20 -0800 (PST) Received: from unixfreak.org (localhost [127.0.0.1]) by bazooka.unixfreak.org (Postfix) with ESMTP id BE99B3C10B; Tue, 30 Jan 2001 15:33:20 -0800 (PST) To: Poul-Henning Kamp Cc: mi@aldan.algebra.com, jhb@FreeBSD.org, cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/conf GENERIC In-Reply-To: Message from Poul-Henning Kamp of "Tue, 30 Jan 2001 21:47:11 +0100." <33834.980887631@critter> Date: Tue, 30 Jan 2001 15:33:15 -0800 From: Dima Dorfman Message-Id: <20010130233320.C589C3E02@bazooka.unixfreak.org> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > >Mount_mfs needs to be changed to use md? To somehow make those entries > >in fstab: > > > > /dev/ad0s2b /tmp mfs rw,async,noatime > > > >work properly. The md-creation script provided in the md(4) > >should happend automagicly, perhaps. Respectfully, > > I respectfully disagree. Those entries are just about as > bogus as can be. They should die. [*] > > If anybody writes a patch to mdconfig to DTRT based on some > less bogus /etc/fstab entries, I'll happily review and commit it. Does this sort of functionality really belong in mdconfig? It seems a little odd to add quite a bit of new code to perform a single task (i.e., it would never be used by other tasks performed by the program). Among other things, it would obviously need to read fstab, then do the equivilent of disklabel and newfs. At least this is what I think mount_mfs does. I'm assuming you're talking about adding a "mdconfig -z" (or something) to do the `mount -a` equivilent, but for md entries. Am I missing something? It sounds like adding something to /etc/rc or a new mount_md program/script would be much easier (and more resistant to other changes in the system). Whatever the consensus is, I'd be happy to implement it. I'd just rather find out exactly what's needed than do something and have someone tell me that it should've been implemented elsewhere. Regards Dima Dorfman dima@unixfreak.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message