Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jan 2001 15:33:15 -0800
From:      Dima Dorfman <dima@unixfreak.org>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
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 
Message-ID:  <20010130233320.C589C3E02@bazooka.unixfreak.org>
In-Reply-To: Message from Poul-Henning Kamp <phk@critter.freebsd.dk>  of "Tue, 30 Jan 2001 21:47:11 %2B0100." <33834.980887631@critter> 

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




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