How to set up Hammer over DragonFly (vkernel)

Thomas Nikolajsen thomas.nikolajsen at
Fri Oct 24 09:47:29 PDT 2008

> How can I running DragonFly with Hammer filesystem?
> (in vkernel environment!!)

Try looking into `man HAMMER' (hammer(5)), vkernel(7) & build(7);
you can just follow these steps:

    cp /sys/config/VKERNEL /sys/config/VKERNEL+HAMMER
    echo 'options HAMMER' >>/sys/config/VKERNEL+HAMMER
    # you should also change `ident' line to reflect new file name

    # then the usual steps to build and install a kernel, as described in build(7) (and vkernel(7))
    cd /usr/src
    make -DNO_MODULES installkernel KERNCONF=VKERNEL+HAMMER DESTDIR=/var/vkernel

Alternatively you can load HAMMER as a module;
for this you build and install modules for vkernel and
use -U option to be able to load them, as described in vkernel(7).


More information about the Users mailing list