How to read current NTFS settings?

Before embedding filter data, I would like to check the following NTFS settings:

1) 8.3 naming status (this is disabled using fsutil behavior set disable8dot3 1)

2) last access status (this is disabled using fsutil behavior set disablelastaccess 1)

3) cluster size (this is set using format F: /FS:NTFS /V:MyFILESTREAMContainer /A:64K)

Fresh flow control should disable (1) and (2) and set (3) to 64 KB.

But before setting this, I would like to know the existing settings. How to check it? The answer may be in Delphi, but not necessarily.

+3
source share
2 answers

1 2 ( xp_regread SQL)

3 , SQL Server . sp_OA% CLR, SQL.

+1

GetDiskFreeSpace API Windows _per_cluster bytes_per_sector. , Windows.

+1

Source: https://habr.com/ru/post/1763445/


All Articles