NAME
loadfossil – populate a fossil filesystem

SYNOPSIS
loadfossil fossil root proto fossil.conf

DESCRIPTION
Loadfossil formats the partition (or file) fossil as a fossil(4) file system, populates it with files from root using the mkfs(8) prototype file proto and installs the configuration in fossil.conf.

Simply declaring fsys main config in fossil.conf takes the device name from fossil –f and avoids wiring it into the configuration.

EXAMPLES
Create a standalone fossil root filesystem for a laptop from the local Plan 9 installation.
sc=/sys/lib/sysconfig
loadfossil /dev/sdC0/fossil /n/boot $sc/proto/stand–usb \
$sc/usb/fossil.conf

FILES
/srv/fossil
/srv/fossil.open
/srv/fscons
/srv/fscons.open   
files created while executing

SOURCE
/rc/bin/loadfossil

SEE ALSO
fossilcons(8), mkusbboot(8), prep(8)

BUGS
Due to name clashes in /srv, should be run only on machines with no running fossil instance named fossil.
Copyright © 2018 Alcatel-Lucent. All rights reserved.