OverlayFS
Developer(s) | Miklos Szeredi, Open Source Community |
---|---|
Full name | Overlay File System |
Features | |
File system permissions | POSIX |
Other | |
Supported operating systems | Linux, FreeBSD and NetBSD |
In computing, OverlayFS is a union mount filesystem implementation for Linux.
It was merged into the Linux kernel mainline in 2014, in kernel version 3.18.[1][2] It was improved in version 4.0, bringing improvements necessary for e.g. the overlay2 storage driver in Docker.[3]
The main mechanics of OverlayFS relate to the merging of directory access when both filesystems present a directory for the same name. Otherwise, OverlayFS presents the object, if any, yielded by one or the other, with the "upper" filesystem taking precedence. Unlike some other overlay filesystems, the directory subtrees being merged by OverlayFS do not necessarily have to be from distinct filesystems.[4]
While most of Live CD linux distribution used Aufs as of November 2016, Slackware used overlayfs for live CD.[5]
OverlayFS supports whiteouts and opaque directories in the upper filesystem to allow file and directory deletion.[4]
References
- ↑ "OverlayFS commit to Linux".
- ↑ "OverlayFS Proposed For The Linux 3.18 Kernel".
- ↑ "Select a storage driver - Docker". archive.is. 2016-12-06. Retrieved 2017-06-05.
- 1 2 "OverlayFS documentation". kernel.org.
- ↑ "slackware:liveslak - SlackDocs". docs.slackware.com. Retrieved 2017-06-05.