Questions tagged [ntfs]

NTFS (New Technology File System) is the primary file system used by Windows.

NTFS (New Technology File System) is a proprietary file system developed by Microsoft Corporation for its Windows line of operating systems, beginning with Windows NT 3.1 and Windows 2000, including Windows XP, Windows Server 2003, and all their successors to date.

NTFS supersedes the file system as the preferred file system for Microsoft’s Windows operating systems.

NTFS has several improvements over FAT and HPFS such as improved support for metadata and the use of advanced data structures to improve performance, reliability, and disk space utilization, plus additional extensions such as security access control lists (ACL) and file system journaling.

Versions

The NTFS on-disk format has five released versions:

  • v1.0 with NT 3.1, released mid-1993
  • v1.1 with NT 3.5, released fall 1994
  • v1.2 with NT 3.51 (mid-1995) and NT 4 (mid-1996)
  • v3.0 from Windows 2000 ("NTFS V5.0" or "NTFS5")
  • v3.1 from Windows XP (autumn 2001; "NTFS V5.1")

NTFS Log

NTFS is a journaling file system and uses the NTFS Log ($LogFile) to record metadata changes to the volume. It is a critical functionality of NTFS (a feature that FAT/FAT32 does not provide) for ensuring that its internal complex data structures, or data moves performed by the defragmentation API, the modifications to MFT records, and indices will remain consistent in case of system crashes, and allow easy rollback of uncommitted changes to these critical data structures when the volume is remounted.

NTFS on other operating systems

Linux

The ability to read and write to NTFS is provided by the NTFS-3G driver. It is included in most distributions.

Mac OS X

Mac OS X 10.3 and later include read-only support for NTFS-formatted partitions.

References

961 questions
6
votes
4 answers

When should we use a scatter/gather(vectored) IO?

Windows file system supports scatter/gather IO.(Of course, other platform does) But I don't know when do I use the IO mechanism. Could you explain me a proper case? And what benefit can we get from using the I/O mechanism?(Just a little IO request?)
Benjamin
  • 10,085
  • 19
  • 80
  • 130
6
votes
2 answers

How do you read the 128-bit NTFS FILE_ID for a directory and/or file?

So NTFS uses a 128-bit Guid to identify files and directories, you can view this information easily enough: C:\Temp>C:\Windows\System32\fsutil.exe objectid query . Object ID : ab3ffba83c67df118130e0cb4e9d4076 BirthVolume ID : …
csharptest.net
  • 62,602
  • 11
  • 71
  • 89
6
votes
1 answer

How do I read Windows NTFS's Alternate Data Stream using Java's IO?

I'm trying to have my Java application read all the data in a given path. So files, directories, metadata etc. This also includes one weird thing NTFS has called Alternate Data Stream (ADS). Apparently it's like a second layer of data in a directory…
Pt. Terk
  • 462
  • 4
  • 13
6
votes
3 answers

Can the NTFS $MFT file have child records?

I am writing some code to parse through the MFT on disk in NTFS volumes. This is straightforward, but one particular corner case caught my eye, and I can't find a clear answer anywhere on the internet. For normal files in NTFS it is possible to…
DSII
  • 429
  • 6
  • 15
6
votes
2 answers

Can I move Windows SDK folder to another volume?

I have got plenty of Windows SDKs installed with Visual Studio. The two directories Program Files (x86)\Microsoft SDKs and Program Files (x86)\Windows Kits take a lot of space (approx. 2 GB). Can I move these directories to another volume to reclaim…
Al Kepp
  • 5,831
  • 2
  • 28
  • 48
6
votes
2 answers

How do I get *change* file time in Windows?

I am trying to use FreeNAS CIFS share with Windows (synchronizing files from Windows to FreeNAS) and hit a problem that robocopy.exe thinks that some files need to be copied again every time I run robocopy.exe (/COPY:DAT). My favorite file…
morfizm
  • 633
  • 3
  • 12
6
votes
2 answers

Change journal operations in .NET?

I'm looking for the .NET/C# way of performing Change Journal Operations (without importing unmanaged code). Any hints or RTM-links?
VolkerK
  • 95,432
  • 20
  • 163
  • 226
6
votes
1 answer

What happens when I DllImport a function that is not available on the runtime platform?

I previously asked, How to determine the target of a symbolic link or Reparse Point? ...and got an answer that suggested the use of the Win32 function GetFinalPathNameByHandle, a function first available on Vista. What happens if I build the .NET…
Cheeso
  • 189,189
  • 101
  • 473
  • 713
6
votes
3 answers

What are "transactional" file operations?

I was browsing the Win32 API functions for file and directory management operations. I saw that some of those functions has their so called "transactional" counterparts. Examples: CreateDirectory and CreateDirectoryTransacted RemoveDirectory and…
hkBattousai
  • 10,583
  • 18
  • 76
  • 124
6
votes
1 answer

Extended file attributes on windows (ntfs)

I'm currently working on a cross platform application that uses extended file attributes for storing it's own file ownership information (uid, gid) outside of the normal filesystem ownership. This information is application specific and has nothing…
goji
  • 6,911
  • 3
  • 42
  • 59
6
votes
2 answers

NTFS/GPT Mount exited with Exit Code 13

This is a duplicated post since I didn't get any help on askubuntu.com. I have a 1TB external hard drive that I recently formatted to NTFS. It was mounting on my Ubuntu 11.10 fine until just now. I didn't make any changes to affect my OS or my…
dearN
  • 1,256
  • 4
  • 19
  • 40
6
votes
3 answers

Windows Temp folder default NTFS security

What are the default NTFS security settings of the C:\Windows\Temp folder in Windows 7?
IvanL
  • 2,475
  • 1
  • 26
  • 39
5
votes
1 answer

What, and where, is the NTFS CRC windows complains about?

I'm trying to come up with an answer for a question of mine involving recovering a file when Windows' APIs complain about a "CRC error". I know this is because of a bad block. But my theory is: If I disable S.M.A.R.T., and hence ECC, I should be…
Camilo Martin
  • 37,236
  • 20
  • 111
  • 154
5
votes
2 answers

How can I create a junction using cygwin?

This question shows that cygwin’s soft links are somewhat different from ntfs junctions. I’d like cygwin to create a real junction. I thought about running mklink but, hell, there is no mklink.exe. Apparently, it’s part of the shell command. There…
qdii
  • 12,505
  • 10
  • 59
  • 116
5
votes
2 answers

Does the length of a file name impact huge NTFS folder indexes?

I have NTFS folders that may grow to hold 100,000 to 1,000,000 files, the upper limit discussed in this answer on NTFS performance. My files have the following characteristics: 1) They have long file names (typically 64 to 100 characters). 2) For…
Pete Magsig
  • 431
  • 5
  • 18