Skip to content

Commit 66dbd7a

Browse files
mkinitfs: add page (#16109)
* mkinitfs: add page * mkinitfs: config => configuration Co-authored-by: Wiktor Perskawiec <[email protected]> --------- Co-authored-by: Wiktor Perskawiec <[email protected]>
1 parent 6e5f343 commit 66dbd7a

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

pages/linux/mkinitfs.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# mkinitfs
2+
3+
> Generate an initramfs on Alpine Linux.
4+
> More information: <https://manned.org/mkinitfs>.
5+
6+
- Generate an initramfs with the features specified in `/etc/mkinitfs/mkinitfs.conf`:
7+
8+
`mkinitfs`
9+
10+
- Use a different configuration file:
11+
12+
`mkinitfs -c {{path/to/config}}`
13+
14+
- Compress the initramfs using the specified compression algorithm (default: gzip):
15+
16+
`mkinitfs -c {{gzip|xz|zstd|lz4|none}}`
17+
18+
- List files that will be included in the initramfs image:
19+
20+
`mkinitfs -l`
21+
22+
- List all available features:
23+
24+
`mkinitfs -L`

0 commit comments

Comments
 (0)