Date: Tue, 10 Aug 2004 18:43:48 +0300 From: Ruslan Ermilov <ru@FreeBSD.org> To: John-Mark Gurney <gurney_j@resnet.uoregon.edu> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys mdioctl.h src/sys/modules/md Makefile src/sbin/mdconfig mdconfig.c Message-ID: <20040810154348.GA19937@ip.net.ua> In-Reply-To: <20040810144913.GO991@funkthat.com> References: <200408090645.i796jLUo046034@repoman.freebsd.org> <20040810122307.GA18408@ip.net.ua> <20040810144913.GO991@funkthat.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--OXfL5xGRrasGEqWY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 10, 2004 at 07:49:13AM -0700, John-Mark Gurney wrote: > Ruslan Ermilov wrote this message on Tue, Aug 10, 2004 at 15:23 +0300: > > On Mon, Aug 09, 2004 at 06:45:21AM +0000, John-Mark Gurney wrote: > > > jmg 2004-08-09 06:45:21 UTC > > >=20 > > > FreeBSD src repository > > >=20 > > > Modified files: > > > sys/sys mdioctl.h=20 > > > sys/modules/md Makefile=20 > > > sbin/mdconfig mdconfig.c=20 > > > Log: > > > change the name of the md module, to g_md, introduce a define with = the > > > name MD_MODNAME, and make mdconfig use this new define... > > > =20 > > > Revision Changes Path > > > 1.33 +1 -1 src/sbin/mdconfig/mdconfig.c > > > 1.13 +1 -1 src/sys/modules/md/Makefile > > > 1.16 +1 -0 src/sys/sys/mdioctl.h > > >=20 > > Why the change in the first place? >=20 > so that mdconfig does not try to load the md kernel module twice, and > cause your machine to panic. >=20 > With a recent commit of phk's to md that converts it to geom, he removed > the previous DECLARE_MODULE w/ the name of md, and so the md module was > no longer implementing the md module, only the g_md module. On my box > that is using mfs, mdconfig would then try to load the md module a > second time causing geom to panic. >=20 Thanks a bunch for explaining! > I then realized that since md is now a full on geom module, it should > be renamed to geom_md like all the other geom modules... I still need > to ask cvs@ to repo copy the module Makefiles into modules/geom/md... >=20 Yes, please. I wondered about this too (why it was not named geom_md). Another thing I'm worried about is that it's typical for a "device foo" to have the corresponding foo.ko module, and now this is no longer the case. I think many would still prefer that the file be named md.ko, while clearly the inside module should be named "g_md". Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --OXfL5xGRrasGEqWY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBGO00qRfpzJluFF4RAprgAJ43GACTXFFI5iJa7a8eIlkXv8OvzgCfVOcK x8FJFKzt0ac1ALmGyKd2ELE= =8JUz -----END PGP SIGNATURE----- --OXfL5xGRrasGEqWY--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040810154348.GA19937>