1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-28 06:55:33 +02:00
tldr/pages/linux/mkfs.erofs.md
Managor 79b8d3e3b8
*: replace … with individual dots and refresh pages (#16368)
Co-authored-by: Darío Hereñú <magallania@gmail.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2025-05-04 10:20:26 +03:00

20 lines
470 B
Markdown

# mkfs.erofs
> Create an EROFS filesystem in an image.
> More information: <https://manned.org/mkfs.erofs>.
- 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/`