Thursday, September 22, 2016

NTFS files have unique identifiers

On Linux-like systems, every file system object has an inode, a unique identifier. A lesser known fact is that Windows does too! Files can be opened by a 16-byte identifier (which isn't really a GUID, but is the same length as one). You can see a file's ID with the fsutil utility:

fsutil file queryfileid path\to\file.ext

No comments:

Post a Comment