From 66dbd7a41b2ab1aae57a143799bb70856e1ca27c Mon Sep 17 00:00:00 2001 From: Lena <126529524+acuteenvy@users.noreply.github.com> Date: Sat, 5 Apr 2025 20:47:30 +0000 Subject: [PATCH] mkinitfs: add page (#16109) * mkinitfs: add page * mkinitfs: config => configuration Co-authored-by: Wiktor Perskawiec --------- Co-authored-by: Wiktor Perskawiec --- pages/linux/mkinitfs.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/linux/mkinitfs.md diff --git a/pages/linux/mkinitfs.md b/pages/linux/mkinitfs.md new file mode 100644 index 0000000000..3cf2c4ea33 --- /dev/null +++ b/pages/linux/mkinitfs.md @@ -0,0 +1,24 @@ +# mkinitfs + +> Generate an initramfs on Alpine Linux. +> More information: . + +- Generate an initramfs with the features specified in `/etc/mkinitfs/mkinitfs.conf`: + +`mkinitfs` + +- Use a different configuration file: + +`mkinitfs -c {{path/to/config}}` + +- Compress the initramfs using the specified compression algorithm (default: gzip): + +`mkinitfs -c {{gzip|xz|zstd|lz4|none}}` + +- List files that will be included in the initramfs image: + +`mkinitfs -l` + +- List all available features: + +`mkinitfs -L`