Implement mounting of a Hammer filesystem as a root filesystem.
authorMichael Neumann <mneumann@dragonflybsd.org>
Sun, 27 Jul 2008 21:34:04 +0000 (21:34 +0000)
committerMichael Neumann <mneumann@dragonflybsd.org>
Sun, 27 Jul 2008 21:34:04 +0000 (21:34 +0000)
commit7c19b5293d971b1d008002065d1748c49ae80360
tree17e7e3b456b7faf62c36dcd56a05805e63952e8a
parent7f96692d1210624721b9d062415e508195e3d846
Implement mounting of a Hammer filesystem as a root filesystem.

To mount a Hammer filesystem as root filesystem (e.g. /dev/ad0s1d),
you have to specify the following in /boot/loader.conf:

    vfs.root.mountfrom="hammer:ad0s1d"
sys/vfs/hammer/hammer.h
sys/vfs/hammer/hammer_ondisk.c
sys/vfs/hammer/hammer_vfsops.c