mirror of
https://github.com/claunia/romrepomgr.git
synced 2025-12-16 19:24:51 +00:00
Set proper winfsp parameters.
This commit is contained in:
@@ -41,7 +41,16 @@ namespace RomRepoMgr.Core.Filesystem
|
|||||||
|
|
||||||
internal bool Mount(string mountPoint)
|
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))
|
if(Directory.Exists(mountPoint))
|
||||||
Directory.Delete(mountPoint);
|
Directory.Delete(mountPoint);
|
||||||
|
|||||||
Reference in New Issue
Block a user