diff --git a/tldr/git-local-commits b/tldr/git-local-commits index 0f4a6a3f..4724a641 100644 --- a/tldr/git-local-commits +++ b/tldr/git-local-commits @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # git local-commits > Show local commits that haven't been pushed to origin. Any additional arguments will be passed directly to `git log`. -> Part of `git-extras. +> Part of `git-extras`. > More information: . - Show commits that haven't been pushed: diff --git a/tldr/linux/mkinitfs b/tldr/linux/mkinitfs new file mode 100644 index 00000000..bd073a82 --- /dev/null +++ b/tldr/linux/mkinitfs @@ -0,0 +1,29 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# 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`