Developer(s) | Huawei originally, Alibaba Cloud, Bytedance, Coolpad, Google, OPPO |
---|---|
Full name | Enhanced Read-Only File System |
Introduced | November 24, 2019 | with Linux 5.4
Limits | |
Max. volume size | 16 TiB |
Max. file size |
|
Max. number of files | Depends on volume size |
Max. filename length | 255 bytes |
Features | |
Dates recorded | File change time (extended only)[1] |
Date resolution | 1 ns |
Attributes | POSIX, Extended file attributes |
File system permissions | POSIX, ACL |
Transparent compression | Yes (LZ4; LZMA since 5.16; DEFLATE since 6.6)[1] |
Data deduplication | Yes (extent-based) |
Other | |
Supported operating systems | Linux |
EROFS (Enhanced Read-Only File System) is a lightweight read-only file system initially developed by Huawei for the Linux kernel and now maintained by an open-source community from all over the world.
EROFS aims to form a generic read-only file system solution for various read-only use cases (embedded devices, containers and more) instead of just focusing on storage space saving without considering any side effects of runtime performance.[1]
For example, it provides a solution to save storage space by using transparent compression as an option for scenarios that need high-performance read-only requirements on their devices with limited hardware resources, e.g. smartphones like Android and HarmonyOS.[2][3] All of Huawei's new products shipped with EMUI 9.0.1 or later used EROFS,[4] and it was promoted as one of the key features of EMUI 9.1.[5] Oppo, Xiaomi and some Samsung products also use EROFS.[6][7]
Also, it provides a content-addressable chunk-based container image solution together with lazy pulling feature to accelerate container startup speed by using new file-based fscache backend since Linux kernel v5.19.[8]
The file system was formally merged into the mainline kernel with Linux kernel v5.4.[9]
The file system has two different inode on-disk layouts. One is compact, and the other is extended.[1]
Original source: https://en.wikipedia.org/wiki/EROFS.
Read more |