mkfs.erofs Command Examples

Create an EROFS filesystem in an image. More information: https://erofs.docs.kernel.org/en/latest/.

mkfs.erofs image.erofs root/

mkfs.erofs -U {{UUID}} image.erofs root/

mkfs.erofs -zlz4hc image.erofs root/

mkfs.erofs --all-root image.erofs root/