A union mount is a way of mounting that allows several filesystems or directories to be simultaneously mounted and visible through a single mount point, appearing to be one filesystem. Rather than mounting each filesystem at a different place in the directory hierarchy, a union mount overlays the filesystems, creating a unified hierarchy. Thus, any given directory (or "folder") in the resulting filesystem may contain files and subdirectories from any or all of the underlying filesystems.
Union mounts are usually implemented through union filesystems, such as UnionFS and aufs. Generally, one of the constituent directories or filesystems will be treated as read-write, while other directories or filesystems are treated as read-only. If changes are written by applications to the union filesystem, they are recorded in the writeable overlay. As such, union mounts are frequently used by Live CDs.
Union mounts were invented circa 1990, appearing in 4.4BSD-Lite; the authors of the BSD implementation cite previous work on the 3-d filesystem and the Translucent File System (TFS) done at Bell Labs and Sun, respectively. They are also a central concept in Plan 9, which replaces several Unix staples with union mounts (e.g., several directories unioned together at a single
/bin directory replace the
Modern Live USB installations with persistent files implement the union mount with OverlayFS.
- Pendry, Jan-Simon; Marshall Kirk McKusick (December 1995). "Union Mounts in 4.4BSD-Lite". Proceedings of the USENIX Technical Conference on UNIX and Advanced Computing Systems: 25–33. Retrieved 25 November 2007.
- Wright, Charles P.; Jay Dave; Puja Gupta; Harikesavan Krishnan; Erez Zadok; Mohammad Nayyer Zubair. "Versatility and Unix Semantics in a Fan-Out Unification File System". Stony Brook University Technical Report FSL-04-01b. Retrieved 25 November 2007.
- Aurora, Valerie; Henson (March 2009). "Unioning file systems: Architecture, features, and design choices". lwn.net. Retrieved 21 December 2009.
- Aurora, Valerie; Henson (March 2009). "Union file systems: Implementations, part I". lwn.net. Retrieved 21 December 2009.
- Aurora, Valerie; Henson (April 2009). "Unioning file systems: Implementations, part 2". lwn.net. Retrieved 21 December 2009.
- Pike, R.; Presotto, D.; Thompson, K.; Trickey, H.; Winterbottom, P. "The Use of Name Spaces in Plan 9". Bell Labs. cat-v.org. Retrieved 2011-12-05.
- "About GlusterFS". November 2009. Retrieved 4 March 2013.
|This computer storage–related article is a stub. You can help Wikipedia by expanding it.|