ArticleslgStudy

computer science

NTFS-3G

NTFS-3G is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand NTFS-3G rather than just read about it. In short: 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.

NTFS-3G — main illustration
NTFS-3G — illustration

Key takeaways

  • NTFS-3G belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect NTFS-3G to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of NTFS-3G from memory before moving on to harder problems.

Reference excerpt

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, MorphOS, Minix, macOS and OpenBSD. 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", while Tuxera NTFS is the proprietary version. In 2021, Linus Torvalds merged a different NTFS (experimental as of 6.0) implementation called NTFS3 into the Linux kernel 5.15.

Features The NTFS-3G package includes the Filesystem in Userspace (FUSE)-based ntfs-3g driver and a number of utilities for handling NTFS partitions (still called ntfsprogs). The driver 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 the Encrypting File System. (BitLocker is a layer of encryption outside of NTFS and requires the use of a different utility called cryptsetup.) Support to modify access control lists (ACLs) and permissions is available by default. NTFS-3G provides complete support and translation of the NTFS ACL to POSIX ACL permissions. A "usermap" utility is included to record the mapping from Windows NT SIDs to POSIX UIDs. 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 (Compact OS), and OneDrive files. The included utilities provide FUSE-equivalent functionality (to read, write, list, move, copy files) as well as more advanced partition operations such as formatting, label editing, cloning, and resizing. 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.

Performance Benchmarks show that the driver's performance via FUSE is comparable to that of other filesystems' drivers in-kernel, 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. 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:

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. A patch is available to use an even larger block. 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. On April 12, 2011, it was announced that Ntfsprogs project was merged with NTFS-3G. 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

Background 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. On its website, the company offers customized versions as Tuxera NTFS for Embedded Systems. 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. 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.

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. Linux distributions that have switched to NTFS-3G AR include Debian and its derivatives (Ubuntu, PureOS, Pardus, Parrot OS, Trisquel), Gentoo Linux, and LiGurOS. As of August 30, 2021, the previously two collaborating projects merged and moved to GitHub.

See also

Captive NTFS

References

External links NTFS-3G Community Edition NTFS-3G Advanced Version Archived December 14, 2012, at the Wayback Machine -- 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)

Worked examples

Example 1 — a first encounter with NTFS-3G

Start with the simplest possible case. Write down what NTFS-3G claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to NTFS-3G before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about NTFS-3G ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of NTFS-3G

In research
NTFS-3G appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses NTFS-3G in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
NTFS-3G is common in secondary-school and first-year university syllabi. It links to neighbouring topics Disk file systems, Unix file system-related software, Userspace file systems, so understanding it makes those chapters shorter.
In everyday life
Look for NTFS-3G outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “NTFS-3G” →

How to study NTFS-3G in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what NTFS-3G means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain NTFS-3G out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is NTFS-3G in simple terms?

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.

Why does NTFS-3G matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study NTFS-3G?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on NTFS-3G.

Tags

  • Disk file systems
  • Unix file system-related software
  • Userspace file systems

Keep exploring