Re:Ask HN: Examples of reliable software you enjoy using
by nojvek on Tuesday June 28, 2016 @08:31PM
(#11998680)
Does anyone know how everything work? Does it hook into the NTFS filesystem with special apis? The indexing is insanely fast. I wonder how they make it happen.
[ Parent
| on HN ]
Re:Ask HN: Examples of reliable software you enjoy using
by boduh on Wednesday June 29, 2016 @02:13AM
(#11999826)
It reads the NTFS Master File Table (MFT) which contains records for all files and folders. It only does this the first time it runs (or when you manually tell it to rebuild the index). It also uses the NTFS USN journal [1] in order to update changes to its index so that it doesn't need to read the MFT and rebuild the index every time it runs.
[1] https://msdn.microsoft.com/en-us/library/windows/desktop/aa3...