mkfs.erofs
Create an EROFS filesystem in an image. tldr-pages
On Linux
Linux
Create an EROFS filesystem based on the root directory
mkfs.erofs image.erofs root/IdentifyCreate an EROFS image with a specific UUID
mkfs.erofs -U uuid image.erofs root/IdentifyCreate a compressed EROFS image
mkfs.erofs -zlz4hc image.erofs root/IdentifyCreate an EROFS image where all files are owned by root
mkfs.erofs --all-root image.erofs root/Identify