1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 00:22:09 +02:00

mkinitfs: add page (#16109)

* mkinitfs: add page

* mkinitfs: config => configuration

Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>

---------

Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
This commit is contained in:
Lena 2025-04-05 20:47:30 +00:00 committed by GitHub
parent 6e5f343564
commit 66dbd7a41b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

24
pages/linux/mkinitfs.md Normal file
View file

@ -0,0 +1,24 @@
# 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`