flashrd package contents
flashrd-X.Y.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/: a copy of /usr/src/distrib/common/elfrdsetroot.c and related files
- 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: customizable example for use with flashrd, calls rc.flashrd.conf on boot
- etc/rc.local: customizable example for use with flashrd, calls rc.flashrd.local on boot
- etc/rc.shutdown: customizable example for use with flashrd, calls rc.flashrd.shutdown on shutdown
- etc/rc.flashrd.local: sets flashrd system to read-only after /etc/rc sequence
- etc/rc.flashrd.shutdown: archive any MFS directories back to flash on shutdown
- etc/rc.flashrd.conf: untar tardirs, vnddirs at appropriate time in /etc/rc sequence, also onetime and onboot self-upgrade extractor
- etc/rc.flashrd.sub: flashrd partition definitions
- stand/rc: for rdrootfs bootstrap