We are independent & ad-supported. We may earn a commission for purchases made through our links.
Advertiser Disclosure
Our website is an independent, advertising-supported platform. We provide our content free of charge to our readers, and to keep it that way, we rely on revenue generated through advertisements and affiliate partnerships. This means that when you click on certain links on our site and make a purchase, we may earn a commission. Learn more.
How We Make Money
We sustain our operations through affiliate commissions and advertising. If you click on an affiliate link and make a purchase, we may receive a commission from the merchant at no additional cost to you. We also display advertisements on our website, which help generate revenue to support our work and keep our content free for readers. Our editorial team operates independently of our advertising and affiliate partnerships to ensure that our content remains unbiased and focused on providing you with the best information and recommendations based on thorough research and honest evaluations. To remain transparent, we’ve provided a list of our current affiliate partners here.
Software

Our Promise to you

Founded in 2002, our company has been a trusted resource for readers seeking informative and engaging content. Our dedication to quality remains unwavering—and will never change. We follow a strict editorial policy, ensuring that our content is authored by highly qualified professionals and edited by subject matter experts. This guarantees that everything we publish is objective, accurate, and trustworthy.

Over the years, we've refined our approach to cover a wide range of topics, providing readers with reliable and practical advice to enhance their knowledge and skills. That's why millions of readers turn to us each year. Join us in celebrating the joy of learning, guided by standards you can trust.

What Is a Union Mount?

By Alex Newth
Updated: May 17, 2024
References

A union mount is a filesystem mount in a computer that allows all the different mounts to overlay one another. A regular mount allows each to exist in its own realm. With a union mount, all the files from each mount are accessible. At the same time, some files may be masked if they have the same name as files from the top-most mount, because the top mount takes priority. Another difference between this mount type and others is that the top mount will have read-write access, unlike most mounts, which just have read access.

When a filesystem mount is performed, each mount is positioned in a different place in the computer’s memory, so none of the mounts interferes with another. While this has some advantages, it can make it difficult for users to access the mounts if they need files from several mounts at once. With a union mount, each of the mounts is overlaid on top of one another so, while the mounts exist in different areas of the memory, they are organized in a fashion that enables users to access all of them.

A union mount organizes all the mounts, so all of the files from each mount are accessible. This means that any of the programs, documents or anything else included in any of the mounts is open for users to see. While this may not benefit common users, programmers and users who perform multiple mounts can benefit from this by making it easier to modify files from the mounts, because users will not have to jump around the computer to find the files.

While most of the files in a union mount are not masked, or invisible, a few may be. Some of the files within the different mounts may have the same file name, either by coincidence or because the mounts deal with the same filesystem. If this occurs, then only the files in the top-most mount will appear, while those in the lower mounts will be invisible. It does not matter if the files have different contents; they will still be invisible.

Another advantage to having a union mount is that the top-most mount will have read-write access. Mounts normally only have read access, meaning users can read and look at the files in the mount, but they cannot be changed. With this mount type, users are able to change the files in the top-most mount.

WiseGeek is dedicated to providing accurate and trustworthy information. We carefully select reputable sources and employ a rigorous fact-checking process to maintain the highest standards. To learn more about our commitment to accuracy, read our editorial process.
Link to Sources
Discussion Comments
Share
https://www.wisegeek.net/what-is-a-union-mount.htm
WiseGeek, in your inbox

Our latest articles, guides, and more, delivered daily.

WiseGeek, in your inbox

Our latest articles, guides, and more, delivered daily.