EROFS (Enhanced Read-Only File System) is a read-only file system for Linux developed by Gao Xiang (Chinese: 高翔) of Huawei.

Full nameEnhanced Read-Only File System
IntroducedNovember 24, 2019 (2019-11-24) with Linux 5.4
Max. file size
Max. number of files
  • 65,536 (version 1)
  • 4,294,967,296 (version 2)[1]
Max. filename length255 bytes
Dates recordedCreate (version 2 only)[1]
Date resolution1 ns
AttributesPOSIX, xattr
File system permissionsPOSIX, ACL
Transparent compressionYes (LZ4)[1]
Supported operating systemsLinux

EROFS is a lightweight file system, it aims to improve performance and compress storage capacity.[2] This file system is developed on the premise that it is used on smartphones like Android.[3][4]

The file system was merged into the mainline kernel with Linux kernel v5.4.[5]

All of Huawei's new products shipped with EMUI 9.0.1 or later used EROFS,[6] and it was promoted as one of the key features of EMUI 9.1.[2]


The file system has two different inode versions. One is limited (version 1), and the other is extended (version 2).[1]

See also


  1. Gao Xiang. "erofs.txt". Retrieved 2019-09-03.
  2. "EMUI 9.1, the Intelligent Android OS". HUAWEI Global. Huawei Technologies. Retrieved 2019-09-03.
  3. Michael Larabel (2018-11-19). "There Is Finally A User-Space Utility To Make EROFS Linux File-Systems". Phoronix. Phoronix. Retrieved 2018-12-13.
  4. Xiang, Gao (2018-05-31). "erofs: introduce erofs file system". Linux kernel (Mailing list). Retrieved 2018-12-13.
  5. corbet (2019-11-25). "The 5.4 kernel has been released". Retrieved 2019-12-01.
  6. Xiang, Gao (2019-07-04). "erofs: promote erofs from staging". Linux kernel (Mailing list). Retrieved 2019-09-03.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.