cvs commit: src/etc/rc.d addswap

Pawel Jakub Dawidek pjd at FreeBSD.org
Mon Jan 16 07:34:37 PST 2006


On Mon, Jan 16, 2006 at 01:26:05PM +0000, Philip Paeps wrote:
+> philip      2006-01-16 13:26:05 UTC
+> 
+>   FreeBSD src repository
+> 
+>   Modified files:
+>     etc/rc.d             addswap 
+>   Log:
+>   Load the g_md kernel module if needed.
+>   
+>   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.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20060116/da118ed7/attachment.bin


More information about the cvs-src mailing list