From owner-cvs-all Tue Jan 30 18:51:25 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 402C537B69C; Tue, 30 Jan 2001 18:51:02 -0800 (PST) Received: by bazooka.unixfreak.org (Postfix, from userid 1000) id DA9A13E02; Tue, 30 Jan 2001 18:51:01 -0800 (PST) Received: from unixfreak.org (localhost [127.0.0.1]) by bazooka.unixfreak.org (Postfix) with ESMTP id D3AC93C10B; Tue, 30 Jan 2001 18:51:01 -0800 (PST) To: John Baldwin Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, mi@aldan.algebra.com, Poul-Henning Kamp Subject: Re: cvs commit: src/sys/i386/conf GENERIC In-Reply-To: Message from John Baldwin of "Tue, 30 Jan 2001 16:20:36 PST." Date: Tue, 30 Jan 2001 18:50:56 -0800 From: Dima Dorfman Message-Id: <20010131025101.DA9A13E02@bazooka.unixfreak.org> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > How about this: for /etc/fstab: > > /dev/md0 /tmp mfs rw 0 0 How about replacing /dev/md0 with /dev/null or something and using the fact that mdconfig can dynamically assign a unit number? Specifying a specific could still be an option, of course. Also, maybe s/mfs/md/ to avoid questions like, "Why does mfs show up as md?" > Have mount_mfs be a suitable script or program that will create /dev/md0 > as a swap-backed md(4) and then disklabel, newfs, and mount it. Writing a Perl/sh/whatever script to take the arguments passed to it by mount(8) and run mdconfig/disklabel/newfs/etc. with the corresponding arguments seems rather trivial. One of the problems is how to call mdconfig to deallocate the resources when it is unmounted. If this can be resolved and the idea seems reasonably acceptable, I'll gladly submit patches. Thanks Dima Dorfman dima@unixfreak.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message