mkfs.erofs: add page (#13304)

* mkfs.erofs: add page

Signed-off-by: Sebastian Muxel <sebastian@muxel.dev>

* Update pages/linux/mkfs.erofs.md

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* Update pages/linux/mkfs.erofs.md

---------

Signed-off-by: Sebastian Muxel <sebastian@muxel.dev>
Co-authored-by: spageektti <git@spageektti.cc>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
pull/28/head
muxelplexer 2024-07-30 12:23:34 +02:00 committed by GitHub
parent 05e8778fa0
commit 0be078a208
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 20 additions and 0 deletions

20
pages/linux/mkfs.erofs.md Normal file
View File

@ -0,0 +1,20 @@
# mkfs.erofs
> Create an EROFS filesystem in an image.
> More information: <https://erofs.docs.kernel.org/en/latest/>.
- Create an EROFS filesystem based on the root directory:
`mkfs.erofs image.erofs root/`
- Create an EROFS image with a specific UUID:
`mkfs.erofs -U {{UUID}} image.erofs root/`
- Create a compressed EROFS image:
`mkfs.erofs -zlz4hc image.erofs root/`
- Create an EROFS image where all files are owned by root:
`mkfs.erofs --all-root image.erofs root/`