EROFS
EROFS (Enhanced Read-Only File System) is a read-only file system for Linux developed by Gao Xiang (Chinese: 高翔) of Huawei.
Developer(s) | Huawei |
---|---|
Full name | Enhanced Read-Only File System |
Introduced | November 24, 2019 with Linux 5.4 |
Limits | |
Max. file size | |
Max. number of files |
|
Max. filename length | 255 bytes |
Features | |
Dates recorded | Create (version 2 only)[1] |
Date resolution | 1 ns |
Attributes | POSIX, xattr |
File system permissions | POSIX, ACL |
Transparent compression | Yes (LZ4)[1] |
Other | |
Supported operating systems | Linux |
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
The file system has two different inode versions. One is limited (version 1), and the other is extended (version 2).[1]
- The random read speed is 20% faster than ext4[2]
- 2 GiB more storage space than other file systems[2]
- Little-endian on-disk design[1]
- Metadata and data could be mixed by design[1]
- Support POSIX attributes and permissions, xattr and ACL[1]
- Transparent compression with LZ4[1]
gollark: > happiness starts with an antenna!Not all of us are amateur radio people.
gollark: Again, you seem to just be explaining things poorly. You remind me vaguely of caveman, who seems to not be on here now.
gollark: It's kind of dodecahedral to go around complaining about people not understanding you (and implying it's some failure on their part) and then refusing to try explaining it in better ways.
gollark: > oh the obvious reality is that people dont know what they dont know, and even i didnt conclude that, tho i see it now. doesnt keep me from being impatient and getting madMaybe you should try explaining better if you think you have some great insight people do not understand.
gollark: My family has a pet one, but it actually just mostly sits in a rock thing in its terrarium.
References
- Gao Xiang. "erofs.txt". git.kernel.org. Retrieved 2019-09-03.
- "EMUI 9.1, the Intelligent Android OS". HUAWEI Global. Huawei Technologies. Retrieved 2019-09-03.
- Michael Larabel (2018-11-19). "There Is Finally A User-Space Utility To Make EROFS Linux File-Systems". Phoronix. Phoronix. Retrieved 2018-12-13.
- Xiang, Gao (2018-05-31). "erofs: introduce erofs file system". Linux kernel (Mailing list). Retrieved 2018-12-13.
- corbet (2019-11-25). "The 5.4 kernel has been released". LWN.net. Retrieved 2019-12-01.
- Xiang, Gao (2019-07-04). "erofs: promote erofs from staging". Linux kernel (Mailing list). Retrieved 2019-09-03.
External links
- Gao Xiang's Linux kernel repo - git.kernel.org
- erofs-utils - git.kernel.org
- EROFS, an Introduction and our Smartphone Practice on YouTube
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.