From owner-cvs-src@FreeBSD.ORG Mon Jan 16 15:34:37 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 39A7316A427; Mon, 16 Jan 2006 15:34:37 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6E5D43D46; Mon, 16 Jan 2006 15:34:29 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id BFCA350BC1; Mon, 16 Jan 2006 16:34:23 +0100 (CET) Received: from localhost (ana50.internetdsl.tpnet.pl [83.17.82.50]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id B7EE550B99; Mon, 16 Jan 2006 16:34:09 +0100 (CET) Date: Mon, 16 Jan 2006 16:33:51 +0100 From: Pawel Jakub Dawidek To: Philip Paeps Message-ID: <20060116153351.GE1258@garage.freebsd.pl> References: <200601161326.k0GDQ509094536@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ulDeV4rPMk/y39in" Content-Disposition: inline In-Reply-To: <200601161326.k0GDQ509094536@repoman.freebsd.org> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r535 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc/rc.d addswap X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jan 2006 15:34:37 -0000 --ulDeV4rPMk/y39in Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 16, 2006 at 01:26:05PM +0000, Philip Paeps wrote: +> philip 2006-01-16 13:26:05 UTC +>=20 +> FreeBSD src repository +>=20 +> Modified files: +> etc/rc.d addswap=20 +> Log: +> Load the g_md kernel module if needed. +> =20 +> Pointed out by: Gianmarco Giovannelli +> Submitted by: matteo +> MFC after: 3 days [...] +> + if ! kldstat -q -m g_md ; then +> + if kldload g_md ; then You should look for g_md (which is correct), but load geom_md (this is the current module name). Anyway, mdconfig(8) should load the module when needed, so I suggest removing the entire code responsible for module loading. PS. I think the name of kld is still g_md.ko in RELENG_6, but please verify this before MFCing. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --ulDeV4rPMk/y39in Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDy7zfForvXbEpPzQRAtRkAJ0f3WY8Zj+L0z5yAjcdM+CtTx+mwACgj8G4 cHslOeoi6mGYkyzL9YQL/Hk= =XeTY -----END PGP SIGNATURE----- --ulDeV4rPMk/y39in--