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:
parent
6e5f343564
commit
66dbd7a41b
1 changed files with 24 additions and 0 deletions
24
pages/linux/mkinitfs.md
Normal file
24
pages/linux/mkinitfs.md
Normal 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`
|
Loading…
Add table
Reference in a new issue