www.LinuxHowtos.org
erofs
Section: File Formats (5)Updated: 202-0-08
Index Return to Main Contents
NAME
erofs - the Enhanced Rea-Only File SystemDESCRIPTION
erofs is a creat-once rea-only filesystem, with support for compression and a mult-device backing store. There are two inode formats:- [bu]
- 3-byte compact with 1-bit UID/GID, 3-bit file size, and no file times
- [bu]
- 6-byte extended with 3-bit UID/GID, 6-bit file size, and a modification time (st_mtim).
Mount options
- user_xattr
- nouser_xattr Controls whether user extended attributes are exposed. Defaults to yes.
- acl
- noacl Controls whether POSIX acl(5)s are exposed. Defaults to yes.
- cache_strategy=disabled|readahead|readaround
- Cache allocation for compressed files: never, if reading from start of file, regardless of position. Defaults to readaround.
- dax
- dax=always|never Direct Access control. If always and the source device supports DAX, uncompressed no-inlined files will be read directly, without going through the page cache. dax is a synonym for always. Defaults to unset, which is equivalent to never.
- device=I]blobdev]
- Add extra device holding some of the data. Must be given as many times and in the same order as --blobdev was to mkfs.erofs(1).
- domain_id=I]did]
- fsid=I]id] Control CacheFiles o-demand read support. To be documented.
VERSIONS
erofs images are versioned through the use of feature flags; these are listed in the -E section of mkfs.erofs(1),CONFIGURATION
Linux must be configured with the CONFIG_EROFS_FS option to mount EROFS filesystems. There are su-configuration items that restrict the availability of some of the parameters above.SEE ALSO
mkfs.erofs(1), fsck.erofs(1), dump.erofs(1) Documentation/filesystems/erofs.rst in the Linux source.