ccdconfig(8): When ccd can't be kldloaded, explain a possible reason.
authorSascha Wildner <saw@online.de>
Sat, 16 Feb 2013 16:49:01 +0000 (17:49 +0100)
committerSascha Wildner <saw@online.de>
Sat, 16 Feb 2013 16:49:28 +0000 (17:49 +0100)
commite336f5c1749c14fda9349fa5033ba676a58f4f07
treecbafc09feb6b91cf34f41e595eb05be7244fd56c
parent986e2176b136d7a4251304db59cef6e2667bfe97
ccdconfig(8): When ccd can't be kldloaded, explain a possible reason.

If /etc/ccd.conf is present, /etc/rc.d/ccd will run ccdconfig in the
early boot when only root is mounted read-only. On HAMMER systems (or
any other system where /boot isn't part of the root partition) it can
not automatically load ccd.ko at this point. This was different on
UFS where /boot was usually not separate.

So in case it fails, give the user a better message that explains the
options he has.

Dragonfly-bug: <http://bugs.dragonflybsd.org/issues/2439>
Reported-by: Christer Solskogen
sbin/ccdconfig/ccdconfig.c