EROFS

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
EROFS
Developer(s)Huawei
Full nameEnhanced Read-Only File System
IntroducedNovember 24, 2019 (2019-11-24) with Linux 5.4
Limits
Max. file size
Max. number of files
  • 65,536 (version 1)
  • 4,294,967,296 (version 2)[1]
Max. filename length255 bytes
Features
Dates recordedCreate (version 2 only)[1]
Date resolution1 ns
AttributesPOSIX, xattr
File system permissionsPOSIX, ACL
Transparent compressionYes (LZ4)[1]
Other
Supported operating systemsLinux

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

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]

Features[edit]

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

See also[edit]

References[edit]

  1. ^ a b c d e f g h i Gao Xiang. "erofs.txt". git.kernel.org. Retrieved 2019-09-03.
  2. ^ a b c d "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". LWN.net. Retrieved 2019-12-01.
  6. ^ Xiang, Gao (2019-07-04). "erofs: promote erofs from staging". Linux kernel (Mailing list). Retrieved 2019-09-03.

External links[edit]