Software:NTFS-3G
Developer(s) | Tuxera Inc. |
---|---|
Stable release | 2022.5.17
/ May 26, 2022[1] |
Written in | C |
Operating system | Unix-like, Haiku |
Type | File system driver |
License | Dual-licensed GNU GPL[2] |
Website | github |
NTFS-3G is an open-source cross-platform implementation of the Microsoft Windows NTFS file system with read/write support. NTFS-3G often uses the FUSE file system interface, so it can run unmodified on many different operating systems. It is runnable on Linux, FreeBSD, NetBSD, OpenSolaris, illumos, BeOS, QNX, WinCE, Nucleus, VxWorks, Haiku,[1] MorphOS, Minix, macOS[3] and OpenBSD.[4][5] It is licensed under the GNU General Public License. It is a partial fork of ntfsprogs and is under active maintenance and development.
NTFS-3G was introduced by one of the senior Linux NTFS developers, Szabolcs Szakacsits, in July 2006. The first stable version was released on February 21, 2007, as version 1.0. The developers of NTFS-3G later formed a company, Tuxera Inc., to further develop the code. NTFS-3G is now the free "community edition",[1] while Tuxera NTFS is the proprietary version.
In 2021, Linus Torvalds merged a different NTFS implementation called NTFS3 into the Linux kernel 5.15.[6]
Features
NTFS-3G supports all operations for writing files: files of any size can be created, modified, renamed, moved, or deleted on NTFS partitions. Transparent compression is supported, as well as system-level encryption.[7] Support to modify access control lists and permissions is available.[8] NTFS partitions are mounted using the Filesystem in Userspace (FUSE) interface. NTFS-3G supports hard links, symbolic links, and junctions. With the help of NTFS reparse point plugins, it can be made to read chunk-deduplicated files, system-compressed files, and OneDrive files.[9] NTFS-3G provides complete support and translation of NTFS access control list (ACL) to POSIX ACL permissions. A "usermap" utility is included to record the mapping from UIDs to Windows NT SIDs.
According to its own information, the company Tuxera Ltd was founded in 2008 by Szabolcs Szakacsits, because more and more requests from well-known companies regarding the integration into their products made this step necessary.[10] On its website, the company offers customized versions as Tuxera NTFS for Embedded Systems.
NTFS-3G supports partial NTFS journaling, so if an unexpected computer failure leaves the file system in an inconsistent state, the volume can be repaired. As of 2009, a volume having an unclean journal file is recovered and mounted by default. The ‘norecover’ mount option can be used to disable this behavior.[11]
At the end of August 2009, it became known that Tuxera had entered into a cooperation with Microsoft, which also included an intellectual property agreement.[12] Since Microsoft thus also provided insight into the specification of exFAT, Tuxera was able to develop the driver Tuxera exFAT for Embedded Systems in addition to NTFS, which is offered to commercial customers.
Performance
Benchmarks show that the driver's performance via FUSE is comparable to that of other filesystems' drivers in-kernel,[13] provided that the CPU is powerful enough. On embedded or old systems, the high processor usage can severely limit performance. Tuxera sells optimized versions of the driver that claims to have improved CPU utilization for embedded systems and macOS.[14]
The slowness of NTFS-3G (and FUSE in general) on embedded systems is attributed to the frequent context switching associated with FUSE calls. Some open-source methods provided to reduce this overhead include:[15]
- The underlying FUSE layer has an option called
big_writes
to use larger blocks when writing. Using a larger block means fewer context switches. This is in fact a solution recommended by Tuxera.[16] A patch is available to use an even larger block.[17] - There is also a Linux kernel option called
lazytime
to reduce the writes on file access. - Synology Inc. uses a modified NTFS-3G on their NAS systems. It replaces the ntfs-3g inode caching
CACHE_NIDATA_SIZE
with a different mechanism with unclear benefits. (It also includes an alternative Security Identifier translation for the NAS.)
History
- NTFS-3G forked from the Linux-NTFS project on October 31, 2006.
- On February 21, 2007, Szabolcs Szakacsits announced "the release of the first open-source, freely available, stable read/write NTFS driver, NTFS-3G 1.0."
- On October 5, 2009, NTFS-3G for Mac was brought under the auspices of Tuxera Ltd. and a proprietary version called Tuxera NTFS for Mac was made available.[18]
- On April 12, 2011, it was announced that Ntfsprogs project was merged with NTFS-3G.[19]
- NTFS-3g added TRIM support in version 2015.3.14.
- NTFS-3G fixed CVE-2017-0358 in version 2016.2.22.
- NTFS-3G fixed CVE-2019-9755 in version 2017.3.23AR.4.
- NTFS-3G fixed several CVE issues in version 2021.8.22
- NTFS-3G fixed more CVE issues in version 2022.5.17
Advanced version
The software's main maintainer Jean-Pierre André has kept the development active on SourceForge, providing bug fixes and new features. He ran a parallel release system on his website as the NTFS-3G Advanced Version (NTFS-3G AR). Each version was run through a test suite and was considered stable.[20][21]
Linux distributions that have switched to NTFS-3G AR include Debian and its derivatives (Ubuntu, PureOS, Pardus, Parrot OS, Trisquel), Gentoo Linux, and LiGurOS.[22]
As of August 30, 2021, the previously two collaborating projects merged and moved to GitHub.[23]
See also
References
- ↑ 1.0 1.1 1.2 "STABLE Version 2022.5.17 (May 26, 2022)". Tuxera. 2022-05-26. https://github.com/tuxera/ntfs-3g/releases/tag/2022.5.17. Retrieved 2022-09-12.
- ↑ "Tuxera/NTFS-3g". 3 November 2021. https://github.com/tuxera/ntfs-3g/blob/edge/COPYING.
- ↑ NTFS-3G for Mac OS X ("Catacombae")
- ↑ "OpenBSD adds fuse(4) support for adding file systems in userland". OpenBSD Journal. 2013-11-08. http://undeadly.org/cgi?action=article&sid=20131108082749&mode=expanded&count=2. Retrieved 2013-11-08.
- ↑ "ntfs_3g-2014.2.15 – FUSE NTFS driver with read/write support". OpenBSD ports. 2014-01-05. http://ports.su/sysutils/ntfs-3g. Retrieved 2015-02-14.
- ↑ "Re: [GIT PULL] ntfs3: New NTFS driver for 5.15 - Linus Torvalds". https://lore.kernel.org/lkml/CAHk-=whFAkqwGSNXqeN4KfNwXeCzp9-uoy69_mLExEydTajvGw@mail.gmail.com/.
- ↑ NTFS-3G FAQ
- ↑ NTFS-3G: NTFS Driver with Ownership and permissions
- ↑ André, Jean-Pierre (March 1, 2019). "NTFS-3G: Junction Points, Symbolic Links and Reparse Points". https://jp-andre.pagesperso-orange.fr/junctions.html.
- ↑ "About us - Tuxera". https://www.tuxera.com/about-us/. Retrieved 2023-01-26.
- ↑ "NTFS-3G 2009.2.1 changelog". http://article.gmane.org/gmane.comp.file-systems.ntfs-3g.devel/678.
- ↑ "NTFS-3G-Firma schließt IP-Abkommen mit Microsoft". https://www.heise.de/newsticker/meldung/NTFS-3G-Firma-schliesst-IP-Abkommen-mit-Microsoft-753229.html. Retrieved 2023-01-26.
- ↑ Comparing NTFS-3G to ZFS-FUSE for FUSE Performance
- ↑ "Performance at Tuxera". https://www.tuxera.com/products/tuxera-ntfs-commercial/performance/.
- ↑ Gothe, Markus. "On Linux NTFS Performance". https://www.lysator.liu.se/~nietzsche/ntfs/. Retrieved 3 October 2019.
- ↑ "NTFS-3G Questions". https://www.tuxera.com/community/ntfs-3g-faq/#slow. "Workaround: using the mount option “big_writes” generally reduces the CPU usage, provided the software requesting the writes supports big blocks."
- ↑ Wang, M. "linux - Disadvantages of ntfs-3g 'big_writes' mount option". https://unix.stackexchange.com/a/544864/73443. Retrieved 3 October 2019.
- ↑ NTFS-3G for Mac OS X is now Tuxera NTFS for Mac
- ↑ "Release: NTFS-3G + NTFSPROGS 2011.4.12". http://www.tuxera.com/open-source/release-ntfs-3g-ntfsprogs-2011-4-12/.
- ↑ "Advanced NTFS-3G Features". https://jp-andre.pagesperso-orange.fr/advanced-ntfs-3g.html.
- ↑ "NTFS-3G: Changelog for the Advanced Versions". https://jp-andre.pagesperso-orange.fr/changelog.html.
- ↑ "ntfs-3g package versions". https://repology.org/project/ntfs-3g/versions.
- ↑ "ntfs-3g versions merge". https://sourceforge.net/p/ntfs-3g/mailman/ntfs-3g-news/thread/d343b1d7-6587-06a5-4b60-e4c59a585498%40wanadoo.fr/#msg37343528.
External links
- NTFS-3G Community Edition
- NTFS-3G Advanced Version -- Obsolete as it became the new NTFS-3G Community Edition
- NTFS-3G for Mac OS X ("Catacombae") – Obsolete
- Writing on NTFS volumes on Mac OS X through NTFS-3G and OS X FUSE for free (works with Lion & Mountain Lion)
Original source: https://en.wikipedia.org/wiki/NTFS-3G.
Read more |