error in /etc/rc.d/mdconfig{,2}

Zahemszky Gábor Gabor at Zahemszky.HU
Wed Oct 25 20:44:50 UTC 2006


Hi!

I've just found, that both /etc/rc.d/mdconfig, and /etc/rc.d/mdconfig2
file in my 6.2.prerelease (cvsupped yesterday), has an incorrect kldload
line:

 kldstat -q -m g_md || kldload geom_md || err 1 "geom_md failed to load."

(mdconfig line 97, and mdconfig2 line 104)

The module name is g_md, and not geom_md.

# $FreeBSD: src/etc/rc.d/mdconfig,v 1.3.2.1 2006/08/21 15:06:38 flz Exp $
# $FreeBSD: src/etc/rc.d/mdconfig2,v 1.3.2.1 2006/08/21 15:06:38 flz Exp $

Bye,
Zahy < Gabor at Zahemszky dot HU >

-- 
#!/bin/ksh
Z='21N16I25C25E30, 40M30E33E25T15U!';IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ
';set -- $Z;for i;{ [[ $i = ? ]]&&print $i&&break;[[ $i = ???
]]&&j=$i&&i=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ "$j" = ???
]]&&print -n "${j#??} "&&j=;typeset +i i;};IFS=' 0123456789 ';set --
$Z;for i;{ [[ $i = , ]]&&i=2;[[ $i = ?? ]]||typeset -l i;j="$j
$i";typeset +l i;};print "$j"


More information about the freebsd-stable mailing list