Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jan 2001 18:50:56 -0800
From:      Dima Dorfman <dima@unixfreak.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, mi@aldan.algebra.com, Poul-Henning Kamp <phk@critter.freebsd.dk>
Subject:   Re: cvs commit: src/sys/i386/conf GENERIC 
Message-ID:  <20010131025101.DA9A13E02@bazooka.unixfreak.org>
In-Reply-To: Message from John Baldwin <jhb@FreeBSD.org>  of "Tue, 30 Jan 2001 16:20:36 PST." <XFMail.010130162036.jhb@FreeBSD.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010131025101.DA9A13E02>