Is there a Windows API for determining if a certain file (path) is on an NTFS filesystem?
If this can be somehow inferred from an existing Python API, all the better.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Dont know how to do it in Python, but I assume that invoking C functions will be easy.
So in C open file handle bu CreateFile, you’ll retrieve a handle to such file. Then call GetVolumeInformationByHandleW and check the lpFileSystemNameBuffer variable for “ntfs” string.