xref: /plan9/sys/man/8/loadfossil (revision 1bdadbfaf2cf3795c8a455b1b74a23e47e115183)
LOADFOSSIL 8
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 .LR "fsys main config" in fossil.conf takes the device name from .L "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.
.EX sc=/sys/lib/sysconfig loadfossil /dev/sdC0/fossil /n/boot $sc/proto/stand-usb \e $sc/usb/fossil.conf
FILES
.TF /srv/fscons.open

0

/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 .LR fossil .