Set proper winfsp parameters.

This commit is contained in:
2020-09-03 21:11:49 +01:00
parent 66c174ee95
commit f6e594179f

View File

@@ -41,7 +41,16 @@ namespace RomRepoMgr.Core.Filesystem
internal bool Mount(string mountPoint)
{
_host = new FileSystemHost(this);
_host = new FileSystemHost(this)
{
SectorSize = 512,
CasePreservedNames = true,
CaseSensitiveSearch = true,
FileSystemName = "romrepomgrfs",
MaxComponentLength = 255,
UnicodeOnDisk = true,
SectorsPerAllocationUnit = 1
};
if(Directory.Exists(mountPoint))
Directory.Delete(mountPoint);