path: root/mkinitfs.1.in
diff options
Diffstat (limited to 'mkinitfs.1.in')
1 files changed, 80 insertions, 0 deletions
diff --git a/mkinitfs.1.in b/mkinitfs.1.in
new file mode 100644
index 0000000..dd8db94
--- /dev/null
+++ b/mkinitfs.1.in
@@ -0,0 +1,80 @@
+.TH MKINITFS "1" "July 2018" "mkinitfs @VERSION@" "Early startup"
+mkinitfs - Generate an initramfs
+\fBmkinitfs\fR collects files from the root file system and creates a
+compressed initramfs from it.
+\fB\-b\fR \fIBASEDIR\fR
+Dont use files from the root file system, use specified path instead.
+Use configfile instead of \fI@sysconfdir@/mkinitfs.conf\fR.
+\fB\-f\fR \fIFSTAB\fR
+Use fstab instead of \fI@datadir@/fstab\fR.
+Use specified features.
+Print this help.
+\fB\-i \fIINITFILE\fR
+Use initfile as init instead of \fI@datadir@/initramfs-init\fR.
+Do not clean up temporary files.
+Also copy also host apk keys to initramfs.
+Do a dry run and only list files that would have been used.
+List all available features.
+Don't include kernel modules or firmware into the initramfs.
+\fB\-o \fIOUTFILE\fR
+Set another outfile.
+Prepend features.d search path. Use this if you want to define your own features
+outside of the system-wide directories.
+Quiet mode.
+\fB\-t \fITMPDIR\fR
+Use tempdir when creating initramfs image.
+Default configuration file. It contains the list of default features in the
+format of \fBfeatures="..."\fR.
+Contains a list of kernel modules. Using the feature will cause the given
+kernel modules to be included in the initramfs. The modules are given by their
+filesystem paths, relative to \fI/lib/modules/KERNELVERSION/\fR.
+Contains an list of absolute file names which will be included into the
+generated initramfs if the feature is enabled.
+Shell script which will be placed as \fI/init\fR in the initramfs. This
+functions as the first executed program in early userspace.
+Written by Natanael Copa <ncopa@alpinelinux.org>, Timo Teräs <timo.teras@iki.fi> and others.
+Alpine Linux Bugtracker: <https://bugs.alpinelinux.org/projects/alpine/issues>