By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: NULLFS & OPEN_TREE_NAMESPACE Features Merged For Linux 7.0
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > NULLFS & OPEN_TREE_NAMESPACE Features Merged For Linux 7.0
Computing

NULLFS & OPEN_TREE_NAMESPACE Features Merged For Linux 7.0

News Room
Last updated: 2026/02/09 at 9:17 PM
News Room Published 9 February 2026
Share
NULLFS & OPEN_TREE_NAMESPACE Features Merged For Linux 7.0
SHARE

Christian Brauner sent in a dozen VFS pull requests that are now-merged today for the Linux 7.0 kernel. The VFS pull requests worth noting right away in this article are the introduction of the NULLFS and OPEN_TREE_NAMESPACE features.

NULLFS is merged as a “completely catatonic minimal pseudo filesystem” that Brauner further elaborates as:

“Add a completely catatonic minimal pseudo filesystem called “nullfs” and make pivot_root() work in the initramfs.

Currently pivot_root() does not work on the real rootfs because it cannot be unmounted. Userspace has to recursively delete initramfs contents manually before continuing boot, using the fragile switch_root sequence (overmount + chroot).

Add nullfs, a minimal immutable filesystem that serves as the true root of the mount hierarchy. The mutable rootfs (tmpfs/ramfs) is mounted on top of it. This allows userspace to simply:

chdir(new_root);
pivot_root(“.”, “.”);
umount2(“.”, MNT_DETACH);

without the traditional switch_root workarounds. systemd already handles this correctly. It tries pivot_root() first and falls back to MS_MOVE only when that fails.

This also means rootfs mounts in unprivileged namespaces no longer need MNT_LOCKED, since the immutable nullfs guarantees nothing can be revealed by unmounting the covering mount.

nullfs is a single-instance filesystem (get_tree_single()) marked SB_NOUSER | SB_I_NOEXEC | SB_I_NODEV with an immutable empty root directory. This means sooner or later it can be used to overmount other directories to hide their contents without any additional protection needed.

We enable it unconditionally. If we see any real regression we’ll hide it behind a boot option.

nullfs has extensions beyond this in the future. It will serve as a concept to support the creation of completely empty mount namespaces – which is work coming up in the next cycle.”

NULLFS is just dozens of lines of code and now merged for Linux 7.0.

NULLFS

Also part of the VFS pulls that are merged for Linux 7.0 is adding OPEN_TREE_NAMESPACE as a security and performance win for containers. The VFS namespace merge allows statmount to accept a file descriptor as a parameter, drops the old mount API code, and adds OPEN_TREE_NAMESPACE. The OPEN_TREE_NAMESPACE flag is officially summed up as:

“Container runtimes currently use CLONE_NEWNS to copy the caller’s entire mount namespace — only to then pivot_root() and recursively unmount everything they just copied. With large mount tables and thousands of parallel container launches this creates significant contention on the namespace semaphore.

OPEN_TREE_NAMESPACE copies only the specified mount tree (like OPEN_TREE_CLONE) but returns a mount namespace fd instead of a detached mount fd. The new namespace contains the copied tree mounted on top of a clone of the real rootfs.

This functions as a combined unshare(CLONE_NEWNS) + pivot_root() in a single syscall. Works with user namespaces: an unshare(CLONE_NEWUSER) followed by OPEN_TREE_NAMESPACE creates a mount namespace owned by the new user namespace. Mount namespace file mounts are excluded from the copy to prevent cycles. Includes ~1000 lines of selftests”

Lots of great changes landing in kicking off the Linux 7.0 cycle. Besides the symbolic version bump, Linux 7.0 is all the more important with being the kernel version to power Ubuntu 26.04 LTS.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Modders Turn Threadripper 9995WX IHS Into a Waterblock With Amazing Results Modders Turn Threadripper 9995WX IHS Into a Waterblock With Amazing Results
Next Article ‘Disturbing’: Australian government demands review of Roblox’s PG rating after reports of child grooming ‘Disturbing’: Australian government demands review of Roblox’s PG rating after reports of child grooming
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

Xiaomi Denies U.S. Entry Plans for SU7 After Test Car Spotted in California · TechNode
Xiaomi Denies U.S. Entry Plans for SU7 After Test Car Spotted in California · TechNode
Computing
Need a power station? The DJI Power 2000 has never been cheaper!
Need a power station? The DJI Power 2000 has never been cheaper!
News
How ELIZA (the first AI chatbot) Pioneered Natural Language Processing  | HackerNoon
How ELIZA (the first AI chatbot) Pioneered Natural Language Processing | HackerNoon
Computing
Did the Super Bowl Convince You to Try Apple Music? Here's How to Move Your Playlists
Did the Super Bowl Convince You to Try Apple Music? Here's How to Move Your Playlists
News

You Might also Like

Xiaomi Denies U.S. Entry Plans for SU7 After Test Car Spotted in California · TechNode
Computing

Xiaomi Denies U.S. Entry Plans for SU7 After Test Car Spotted in California · TechNode

1 Min Read
How ELIZA (the first AI chatbot) Pioneered Natural Language Processing  | HackerNoon
Computing

How ELIZA (the first AI chatbot) Pioneered Natural Language Processing | HackerNoon

5 Min Read
Taobao and Tmall deepen partnership with Xiaohongshu to power seamless cross-platform shopping · TechNode
Computing

Taobao and Tmall deepen partnership with Xiaohongshu to power seamless cross-platform shopping · TechNode

1 Min Read
Shoppinlyst Earns a 35 Proof of Usefulness Score by Building an Advanced Grocery List System | HackerNoon
Computing

Shoppinlyst Earns a 35 Proof of Usefulness Score by Building an Advanced Grocery List System | HackerNoon

1 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?