# Linux 7.5 to add O_TMPFILE support to modern NTFS driver

> **Key takeaway:** The modern NTFS kernel driver will support O_TMPFILE for anonymous temporary files, matching capabilities of ext4, XFS, and Btrfs.

**Published:** 2026-11-16T11:13:08+00:00 
**Source:** Phoronix Benchmarks &amp; Drivers 
**Category:** kernel-os 
**Canonical URL:** https://fosswire.org/news/linux-75-to-add-otmpfile-support-to-modern-ntfs-driver.html 

## Summary
The modern NTFS driver introduced in Linux 7.2 is receiving O_TMPFILE support for the upcoming Linux 7.5 kernel cycle, enabling anonymous temporary file creation on NTFS volumes. This feature allows applications to prepare file data and metadata before atomically publishing files via linkat(), with automatic cleanup of unpublished files when their last reference is released.

Baolin Liu of Kylin OS authored the patch series, which completed four rounds of review before being queued to ntfs-next. The change brings NTFS parity with other common Linux file-system drivers and will be submitted when the Linux 7.5 merge window opens at the end of 2026.

## What O_TMPFILE changes in the NTFS driver
- **O_TMPFILE semantics:** Applications can create unnamed regular files for scratch use, with contents discarded if not linked into the directory tree via linkat().
- **Atomic publication model:** File data and metadata can be prepared invisibly before atomic exposure, preventing partial or corrupted files from appearing to other processes.
- **O_EXCL guard:** The flag prevents publication of the temporary file, adding a control mechanism for workflows that need strictly ephemeral storage.
- **Integration path:** Patches were queued to ntfs-next after four revision rounds, targeting inclusion in the Linux 7.5 merge window at year-end 2026.
- **Driver lineage:** The feature builds on the "NTFS Resurrection" driver introduced in Linux 7.2, which replaced the older limited NTFS implementation with full read/write capability.

## Why it matters
O_TMPFILE support removes a functional gap that previously forced applications to fall back to less efficient temporary file patterns when running on NTFS partitions, improving compatibility for dual-boot systems and external drives formatted with Windows-native file systems. For Linux distributions shipping the modern NTFS driver, this aligns NTFS behavior with expectations set by ext4, XFS, and Btrfs, reducing edge-case handling in container runtimes, package managers, and build systems that rely on atomic file replacement.