News: 0001626234

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

FSMOUNT_NAMESPACE Feature Coming For Linux 7.1

([Linux Storage] 5 Hours Ago FSMOUNT_NAMESPACE)


Among the new VFS features expected to land for the upcoming Linux 7.1 merge window is FSMOUNT_NAMESPACE.

FSMOUNT_NAMESPACE is a new feature developed by Christian Brauner. Using the FSMOUNT_NAMESPACE flag with fsmount() allows creating a new mount namespace with the newly-created file-system attached to a copy of the real root file-system. A namespace file descriptor is returned rather than the O_PATH mount file descriptor.

The intent with FSMOUNT_NAMESPACE is for creating a new file-system and immediately placing it into a new mount namespace via a single operation. This should benefit container runtimes and other namespace-based isolation techniques, rather than having to go via [1]OPEN_TREE_NAMESPACE , such as using an actual file-system for a container rootfs.

The FSMOUNT_NAMESPACE support is part of the [2]VFS Git branch and thus should be part of the upcoming Linux 7.1 merge window barring any objections from Linus Torvalds or any other last minute issues.



[1] https://www.phoronix.com/news/Linux-Open-Tree-Namespace

[2] https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git/commit/?h=vfs.all&id=5e8969bd192712419aae511dd5ba26855c2c78db



Dimensions will always be expressed in the least usable term, convertible
only through the use of weird and unnatural conversion factors. Velocity,
for example, will be expressed in furlongs per fortnight.