News: 0001641936

  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)

New NTFS Driver Sees Hardening & Fixes, Windows Native Symlinks With Linux 7.2

([Linux Storage] 3 Hours Ago Modern NTFS Driver)


Happening back in Linux 7.1 was [1]the "NTFS resurrection" with [2]landing a new NTFS driver into the Linux kernel that had been years in the making and began as the former NTFS read-only kernel driver many years back before the stint of the Paragon NTFS3 driver in the Linux kernel. For Linux 7.2 that new/modern NTFS driver has seen more hardening work, some fixes, and Windows native symbolic links support.

The main feature of this modern NTFS driver for Linux 7.2 is [3]handling Windows native symbolic links . This is the file-system level symbolic links on Windows and not to be confused with the .lnk files. As noted that new, native symbolic link handling can be controlled with the NTFS driver via mount options depending upon your desired handling.

The NTFS driver is also now better hardened against malformed on-disk metadata. Plus a variety of bug fixes that have come up since the increase in user testing of this new file-system driver since Linux 7.1.

"- Harden handling of malformed on-disk metadata. It adds stricter validation for attributes, attribute lists, index roots and entries, EA entries, mapping pairs, and $LogFile restart areas. These changes fix several out-of-bounds access, integer overflow, and inconsistent metadata handling issues.

- Preventing a writeback deadlock involving extent MFT records

- Fixing resource leaks in fill_super() failure paths and the name cache

- Serializing volume label access and improving its error handling

- Fixing mapping-pairs decoding bounds and LCN overflow checks

- Keeping resident index root metadata consistent during resize

- Fixing the reported size of symbolic links

- Avoiding an unnecessary allocation for resident inline data

- Adds support for following and creating Windows native symbolic links. Relative links, absolute links, and junctions are handled, with new mount options controlling native symlink creation and absolute target translation. The existing WSL symlink behavior remains the default.

- The unsupported quota code is removed, along with several smaller cleanups."

The full list of now-merged NTFS patches can be found via [4]this pull .



[1] https://www.phoronix.com/news/Linux-7.1-New-NTFS-Driver

[2] https://www.phoronix.com/news/New-NTFS-Driver-Submitted-Linux

[3] https://www.phoronix.com/news/NTFS-Windows-Symbolic-Links

[4] https://lore.kernel.org/lkml/CAKYAXd8DkhQ78XBO+6u23gEC6krPwBAmkj6SrCSkN5KdUMwgyw@mail.gmail.com/



Linux: Because rebooting is for adding hardware

Solaris: Because you don't need to reboot to add hardware

Windows: Because rebooting is for adding hardware, adding software,
regularly scheduled downtime, and should also be done on a daily basis to
keep the machine running.

-- From a Slashdot.org post