cvs commit: src/etc/rc.d addswap

Matteo Riondato matteo at freebsd.org
Mon Jan 16 07:53:47 PST 2006


On Mon, Jan 16, 2006 at 04:45:35PM +0100, Pawel Jakub Dawidek wrote:
> On Mon, Jan 16, 2006 at 04:42:16PM +0100, Matteo Riondato wrote:
> +> Sigh, I tested it on a RELENG_6 system, where the module is still
> +> g_md. Sorry for the noise.
> 
> What was the original problem? mdconfig(8) cannot load the module?

There was a check for /dev/mdctl: if it didn't exist, the script
exited. So it was mandatory to have "device md" built in the kernel. I
didn't know that mdconfig would have loaded the module for me, so I
added the module load section (inspired by the one in etc/rc.d/pf).
It's probably safe to remove that section, if mdconfig can load the
module.
Best Regards
-- 
Matteo Riondato
FreeBSD Volunteer (http://freebsd.org)
G.U.F.I. Staff Member (http://www.gufi.org)
FreeSBIE Developer (http://www.freesbie.org)


More information about the cvs-src mailing list