Why is NTFS case sensitive?

I personally thought that NTFS was case insensitive, since you can type cmd, CMD, cMd or even CmD and still get the command prompt. However, why is it that during a CHKDSK x: /f /r, sometimes it fixes capitalization in some files? If it didn’t care about the case, it shouldn’t matter about that, and CHKDSK shouldn’t be checking if it’s actually CMD or cmd. Am I right? Where does it actually matter in the file system?

Answer

The case sensitivity of a file system is a separate issue from that of an operating system. Latest Windows releases are based on the NT kernel, which inherits a lot of properties of the non-NT Windows 95 and even MS-DOS. Along with the NT kernel the file system, NTFS, was designed to be case sensitive — to be POSIX compliant.

Although the Win32 subsystem does not support file names that only differ by case sensitivity, it is possible to create those files with lower level system calls.

Attribution
Source : Link , Question Author : Canadian Luke , Answer Author : Synetech

Leave a Comment