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
-1
votes
1 answer

Does NTFS support checksums per file

Since I don't like to use software already on market to teach myself in new techniques I'm developing a tool looking for duplicates of files based on their hashes. Reading the file entries from a path is not the problem but hashing the files takes…
codekandis
  • 712
  • 1
  • 11
  • 22
-1
votes
2 answers

I get Invalid parameter with this icacls line

icacls d:\users\dptname\username /grant:W company-domain\username:(OI)(CI)(M) error says: invalid paramter "/grant:W" why?
Aksedir
  • 11
  • 1
  • 3
-1
votes
1 answer

How to get fat16 or fat32 or ntfs filesystem on Linux

I tried this code: try { Process p = Runtime.getRuntime().exec("df -T"); BufferedReader in = new BufferedReader(new InputStreamReader(p.getInputStream())); String line = null; while ((line = in.readLine()) !=…
kodaek99
  • 135
  • 2
  • 13
-1
votes
1 answer

Win API NTFS OpenFileByID throwing AccessViolationException

The OpenFileByID line in test() is giving me System.AccessViolationException Attempted to read or write protected memory. This is often an indication that other memory is corrupt. I am trying to replicate this code example (see the answer), which…
Wes
  • 1,183
  • 3
  • 23
  • 51
-1
votes
1 answer

How can we modify the date of folder in file explorer

Is there a way with which we can modify the date of folder in file explorer or is this a part of Ntfs architecture which can't be changed. Assuming there is no NTFS restriction; how can I change the creation time of a folder using c#
abc
  • 75
  • 11
-1
votes
1 answer

What is this file SimilarityTable_1 (8GB)

I created a new filesystem (F: - destination) and synced with another (E:\ - source). Curiously my new FS had 7GB of difference from source FS. I found out that the file below has 8GB (size) and 1GB (used) in source and 8GB (size) and 8GB (used) in…
-1
votes
1 answer

What is the relationship between streams (ADS) and allocation units (clusters)?

I'm aware that NTFS has a minimum allocation unit or cluster which often defaults to 4k. This means that if I create a 100 byte file in notepad I'm using 4096 bytes on disk. If I create a second stream in this file, am I using a minimum of 8192…
Benj
  • 31,668
  • 17
  • 78
  • 127
-1
votes
1 answer

Tool to move the clusters/sectors for a file

I know when a file is allocated on a file system, such as NTFS or FAT32, the file system will allocated some clusters/sectors for it. After the file is allocated, is there a tool that can move the clusters allocated to the file from one location to…
alancc
  • 487
  • 2
  • 24
  • 68
-1
votes
1 answer

What filesystem is Windows compatible with?

What filesystem can Windows 7 be installed on except ntfs, because i need to change my file system via installing ubuntu and the option of making my hard drive ntfs is not available. Also currently my filesystem is ext4
frebk
  • 13
  • 2
-1
votes
1 answer

How do I best set up a directory of test files in memory instead of disk, in .NET, for testing a file IO class?

Suppose I want to test some Windows .NET code that reads, writes, and deletes files based on a directory path. Suppose that my class to test takes a DirectoryInfo parameter in its constructor. What's the best way to set up test files in memory for…
Patrick Szalapski
  • 8,738
  • 11
  • 67
  • 129
-1
votes
1 answer

NTFS vs. File Share

In helping out a friend with a few questions for CS, I came across one that I had no prior experience with and was hoping someone would be able to clarify the difference between NTFS and File Share for me. To help, the question we faced was: A…
mattkgross
  • 791
  • 2
  • 12
  • 24
-1
votes
1 answer

iis permissions and directory access

We have a website(internal) that is using windows auth. Currently in IIS we have pass- through turned on. In order for users to connect to the site we have had to provide access to everyone in NTFS permissions or we get an error reading the web…
jfin3204
  • 699
  • 6
  • 18
-1
votes
1 answer

Saving lot of my files in a one directory on NTFS

I have a sharing service, and I have 100,000+ files on one NTFS directory on Windows 2008 server. The question is, about performance, is it better to add all the files to mysql blob?
Aminadav Glickshtein
  • 23,232
  • 12
  • 77
  • 117
-1
votes
1 answer

reading windows ntfs system files and folders

In my thesis I'm dealing with Windows NTFS filesystem low level attributes and for this I'm trying to develop a demonstration program reading and displaying NTFS system files and folders like $Extend. Unfortunately with no success so far. Could…
Tim
  • 1
  • 1
-1
votes
2 answers

Why does flock occasionally take a long time on Windows / NTFS?

I use the file system to create a application wide persistent singleton (application does not use a database). Occasionally a page will take 1-2 minutes to load and I have narrowed the problem down to the use of flock in the function that gets an…
Lawrence Barsanti
  • 31,929
  • 10
  • 46
  • 68
1 2 3
63
64