Skip to main navigation Skip to search Skip to main content

Versatility and unix semantics in namespace unification

  • Charles P. Wright
  • , Jay Dave
  • , Puja Gupta
  • , Harikesavan Krishnan
  • , David P. Quigley
  • , Erez Zadok
  • , Mohammad Nayyer Zubair

Research output: Contribution to journalArticlepeer-review

40 Scopus citations

Abstract

Administrators often prefer to keep related sets of files in different locations or media, as it is easier to maintain them separately. Users, however, prefer to see all files in one location for convenience. One solution that accommodates both needs is virtual namespace unification - providing a merged view of several directories without physically merging them. For example, namespace unification can merge the contents of several CD-ROM images without unpacking them, merge binary directories from different packages, merge views from several file servers, and more. Namespace unification can also enable snapshotting by marking some data sources read-only and then utilizing copy-on-write for the read-only sources. For example, an OS image may be contained on a read-only CD-ROM image - and the user's configuration, data, and programs could be stored in a separate read-write directory. With copy-on-write unification, the user need not be concerned about the two disparate file systems. It is difficult to maintain Unix semantics while offering a versatile namespace unification system. Past efforts to provide such unification often compromised on the set of features provided or Unix compatibility - resulting in an incomplete solution that users could not use. We designed and implemented a versatile namespace unification system called Unionfs. Unionfs maintains Unix semantics while offering advanced namespace unification features: dynamic insertion and removal of namespaces at any point in the merged view, mixing read-only and read-write components, efficient in-kernel duplicate elimination, NFS interoperability, and more. Since releasing our Linux implementation, it has been used by thousands of users and over a dozen Linux distributions, which helped us discover and solve many practical problems.

Original languageEnglish
Pages (from-to)74-105
Number of pages32
JournalACM Transactions on Storage
Volume2
Issue number1
DOIs
StatePublished - 2006

Keywords

  • Directory merging
  • Namespace management
  • Snapshotting
  • Stackable file systems
  • Unification

Fingerprint

Dive into the research topics of 'Versatility and unix semantics in namespace unification'. Together they form a unique fingerprint.

Cite this