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
0
votes
0 answers

Fast Access in a Big Directory

I have one million text files (contents are about 1kB) and repeatedly get a handle on a random one (FindFirstFile) inside a C++ program in Windows 7. I believe NTFS' b+ tree method quickly does this but, since I know that these files are not…
bobuhito
  • 285
  • 2
  • 20
0
votes
1 answer

How to determine if a NTFS Folder is corrupted?

Recently, I encountered an unknown problem causing particular folder in NTFS folder to be corrupted in multiple computers. I need to detect if the folder is corrupted and perform actions like relocate the folder or send notifications. However I do…
ncite
  • 533
  • 1
  • 4
  • 19
0
votes
1 answer

windows hard link - protect against writes

I have a bunch of files that I download at some point and then customize. I want to keep the originals, but also allow modifications, and I want to do this using hard links. I figure I first download the batch of files into some sort of repository,…
CosminB
  • 173
  • 8
0
votes
1 answer

Implementing ls command for NTFS in Linux

I am trying to build a bash like script provides some functionalities such as ls,pwd,cat etc. working on NTFS in a linux system. Suppose that I have an NTFS image and I open that as a file with fopen. Then, I read some sectors such as BPB residing…
Osman Yildiz
  • 103
  • 4
0
votes
1 answer

Windows Server 2008 - change security settings for multiple files at once

On Windows Server 2008, is there an easy way to modify security permissions for multiple files at once (as with Windows Server 2003)? Right-click - properties does not provide a "Security" tab if more than one file/directory is selected (i.e.…
Ted
  • 7,122
  • 9
  • 50
  • 76
0
votes
2 answers

NTFS multiple similar attributes

NTFS files may have multiple file name attributes (corresponding to hard links), that have the same name (are unnamed) and type ($FILE_NAME). Are there any other cases where attributes of the same type and name appear multiple times in the same file…
Isso
  • 1,285
  • 11
  • 23
0
votes
2 answers

File size doesn't change on Windows Server 2008

I have noticed strange behavior when continuosly write to file on Windows Server 2008 compared to Windows XP. I execute from several threads something like that: using (var fi = File.Open(...)) { using (var fw = new StreamWriter(fi)) { …
Andrew Florko
  • 7,672
  • 10
  • 60
  • 107
-1
votes
1 answer

Access hardrive files with assembly code?

So im trying making a little boot able assembly program that lets the user delete and add files to a specified drive. The only problem is that im not sure how to access drive with assembly. Could someone point me in the direction in where i can find…
P'sao
  • 2,946
  • 11
  • 39
  • 48
-1
votes
1 answer

NTFS Share Maximum Number of Users

Does anyone know if there is a upper limit for the maxium number of users that can read a single file from a NTFS share using Windows XP and Windows Server 2003?
Matthew Riches
  • 2,298
  • 18
  • 26
-1
votes
1 answer

Problem with Windows 11 login & BitLocker on a laptop that needs a reinstall

I got the laptop from a customer on Monday, back then it still ran, was on standby and logged in.. Then tried to backup the data to a SMB network share, but the laptop suddenly got lockups, so I needed to reboot. After that the password didn't work…
rsenn
  • 9
  • 2
-1
votes
1 answer

NTFS formatted external hard disk working fine on Linux but whole disk detected as "Unallocated" in Windows 11

My drive only has one partition (or none idk) /dev/sdc (for example). I don't think it has a partition table. The format is NTFS, and I can see-mount it on Linux (OpenSUSE Tumbleweed) and interact with the files it contains without any…
Ul Tome
  • 133
  • 1
  • 2
  • 8
-1
votes
1 answer

Difference behavious between file written by code and by text editor?

I have some xml code that i like to have pretty printed (but is not parsable by tools like XmlDocument etc.) in a browser. I currently write the xml code to a file with File.WriteAllText(filepath, xmlCode); When i then open the .xml file in file…
Oliver
  • 117
  • 2
  • 15
-1
votes
1 answer

why does the drive space used vary between two disk drives holding identical files

I have two external NTFS USB drives with identical files but 5GB difference in used space. The drives are 500/1000 (465GB and 931GB) with 257GB and 252GB used. There is no fragmentation and no windows shadow storage on either. I have run windows…
simon
  • 2,561
  • 16
  • 26
-1
votes
1 answer

How to delete a file with incorrect name?

Some application created several files with completely incorrect names in NTFS HDD because of incorrect input data. These files have lots of unrecognizable symbols including Unicode control characters and other "nice" things in their names, and they…
-1
votes
1 answer

Are the extension-guides for vscode open source?

How can I use a micro SD card on mac (MacOS Big Sur 11.4 (20F71))? I've tried chmod 777 on both /dev/disk2s1 /Volumes/yp-storage. I could fix an example to construct mount -uw... Weird why Apple doesn't solve it out of the box... yanivper@Yp-Mac-Pro…
Yaniv Peretz
  • 1,118
  • 2
  • 13
  • 22