Update cheatsheets

This commit is contained in:
ivuorinen
2025-04-06 00:20:15 +00:00
parent 44318fb1ce
commit 1d12bf13f7
2 changed files with 30 additions and 1 deletions

29
tldr/linux/mkinitfs Normal file
View File

@@ -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: <https://manned.org/mkinitfs>.
- 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`