Konstantin Komarov, a founder and leader of Paragon Software, a Linux kernel mailing list with a complete implementation of the file system , supporting read-write mode. The code is open under the GPL license.
The implementation supports all features of the current version of NTFS 3.1, including extended file attributes, data compression mode, efficient handling of file gaps, and the ability to replay changes from the journal to restore integrity after failures. The proposed driver currently uses its own trimmed-down implementation of the NTFS journal, but plans to add support for full journaling on top of the universal block device (Journaling block device), on which journaling in ext3, ext4, and OCFS2 is based.
The driver is based on the codebase of an existing commercial from Paragon Software and is well tested. The patches are formatted according to the coding preparation requirements for Linux and do not contain bindings to additional APIs, allowing the new driver to be included in the main kernel. After the patches are included in the main Linux kernel, Paragon Software intends to provide maintenance, bug fixes, and functionality expansion.
However, inclusion in the kernel may take time due to the need for review of the proposed code by external developers. Comments on the publication also mention issues with building and a number of for patch formatting. For example, it is suggested to break the submitted patch into parts, as 27 thousand lines in one patch is too much and creates difficulties in reviewing and checking. The MAINTAINERS file recommends explicitly defining the policy for further code maintenance and indicating the Git branch to which corrections should be sent. There is also a need to agree on adding a new NTFS implementation in light of the existing fs/ntfs driver, which operates in read-only mode.
Previously, to gain full access to NTFS partitions from Linux, one had to use the NTFS-3g FUSE driver, which operates in user space and does not provide the desired performance. This driver 2017 óta, mint a kizárólag olvasási módban működő fs/ntfs meghajtó. Mindkét meghajtót a Tuxera cég készítette, amely, akárcsak a Paragon Software, a kereskedelmi alapon forgalmazott NTFS tulajdonjogú meghajtót.
Emlékeztetünk arra, hogy tavaly októberben, a Microsoft nyilvános specifikációinak közzététele és a Linux számára az exFAT szabad felhasználására vonatkozó szabadalmak biztosítása után a Paragon Software megnyitotta a kódját az exFAT fájlrendszer implementációjához. A meghajtó első verziója csak olvasási módban működött, de fejlesztés alatt állt a felírási támogatást is nyújtó verzió. Ezek a javítások igénytelenné váltak, és a fő kernelösszeállítás részeként elfogadta az exFAT meghajtót, a Samsung és az Android okostelefonok firmware-ében használt verzióját. Ez a lépés fájdalmasan érintette a Paragon Software céget, amely az exFAT és NTFS nyílt megvalósításait.
Forrás: opennet.ru
