From 0be078a208e73b7d12f0f078ba47a2c48dea32c1 Mon Sep 17 00:00:00 2001 From: muxelplexer Date: Tue, 30 Jul 2024 12:23:34 +0200 Subject: [PATCH] mkfs.erofs: add page (#13304) * mkfs.erofs: add page Signed-off-by: Sebastian Muxel * Update pages/linux/mkfs.erofs.md Co-authored-by: K.B.Dharun Krishna * Update pages/linux/mkfs.erofs.md --------- Signed-off-by: Sebastian Muxel Co-authored-by: spageektti Co-authored-by: K.B.Dharun Krishna --- pages/linux/mkfs.erofs.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pages/linux/mkfs.erofs.md diff --git a/pages/linux/mkfs.erofs.md b/pages/linux/mkfs.erofs.md new file mode 100644 index 0000000000..a26a08806a --- /dev/null +++ b/pages/linux/mkfs.erofs.md @@ -0,0 +1,20 @@ +# mkfs.erofs + +> Create an EROFS filesystem in an image. +> More information: . + +- 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/`