flashrd package contents
flashrd-YYYYMMDD.tar.gz contains the following:
- flashrd: Read-only mode flash installer. This is what you use to install.
- config.strip: Lines to strip from architecture-dependent kernel config
- cfgflashrd: Configure basic parameters for an existing flashrd install or disk image
- elfrdsetroot.c: a copy of /usr/src/distrib/common/elfrdsetroot.c
- flashrd.sub: Routines common to multiple scripts
- firmware.list: Firmware list to copy to rdroot for kernel access to firmware from ramdisk stage
- growimg: Disk image resize (shrink, expand) tool, also writes image to flash while resizing
- mkboot: Makes bootable flash image (typically run by flashrd)
- mkdist: Makes OpenBSD filesystem into flashrd vnd image (typically run by flashrd)
- mkkern: Compile FLASHRD kernels and setup ramdisk inside of them (typically run by flashrd)
- mkrdroot: Create ramdisk root filesystem (for mkkern) (typically run by flashrd)
- bin/ro: for running system, root command to set all mounts to read-only
- bin/rw: for running system, root command to set all mounts to read-write
- etc/rc: for rdrootfs bootstrap
- etc/rc.conf.local: untar tardirs at appropriate time in /etc/rc sequence (add any pre-image-creation rc.conf.local statements to this file)
- etc/rc.local: set flashrd system to read-only after /etc/rc sequence (add any pre-image-creation rc.local statements to this file)
- etc/rc.shutdown: rc.shutdown with tar example
- stand/rc: for rdrootfs bootstrap