dokan-dev / dokany

User mode file system library for windows with FUSE Wrapper
http://dokan-dev.github.io
5.25k stars 666 forks source link

/z unknown #1247

Open AireagoirSteam opened 1 week ago

AireagoirSteam commented 1 week ago

Feature request can skip this form. Bug report must complete it. Check List must be 100% match or it will be automatically closed without further discussion. Please remove this line.

Windows 11 X64 2.20

More of a question if /z requires anything additional since mirror doesn't seem to recognise it.

It just reports unknown option. Haven't submitted logs first since thought I'd ask if it needs anything following it. /z foo etcetera etcetera

Liryna commented 1 week ago

Hi @AireagoirSteam ,

There is no z parameter in mirror or memfs. Where did you see this param ?

https://github.com/dokan-dev/dokany/blob/master/samples/dokan_memfs/main.cpp#L32 https://github.com/dokan-dev/dokany/blob/master/samples/dokan_mirror/mirror.c#L1505

alou-S commented 1 week ago

There actually is a /z option mentioned in mirror.c :slightly_smiling_face: https://github.com/dokan-dev/dokany/blob/2084b3c872538a3357a21b7ce04b27a39a21f527/samples/dokan_mirror/mirror.c#L1525

Well the main reason I am commenting here because Windows Security seems to stall any programs I run from the network mounts created using mirror.exe Disabling Real-Time Protection heavily improves application startup speeds.

AireagoirSteam commented 1 week ago

Hi @AireagoirSteam ,

There is no z parameter in mirror or memfs. Where did you see this param ?

https://github.com/dokan-dev/dokany/blob/master/samples/dokan_memfs/main.cpp#L32 https://github.com/dokan-dev/dokany/blob/master/samples/dokan_mirror/mirror.c#L1505

I got it straight from mirrors help option

/z Enabled FCB GCt

Liryna commented 1 week ago

Ah 😄 sorry missed that! Actually I also missed to remove it from the usage. The option was removed and enabled by default by those changes: https://github.com/dokan-dev/dokany/blob/master/dokan/dokan.c#L1146 https://github.com/dokan-dev/dokany/commit/0e207a07961d950877c55a483cee2b7ff42fb459#diff-01f2496598af8873618eb3752937fa8f4ddbcafd66be4f4b212472ec6d1c95a0R809 https://github.com/dokan-dev/dokany/commit/574a532f060abbf622c441916684dd0b5868044b#diff-01f2496598af8873618eb3752937fa8f4ddbcafd66be4f4b212472ec6d1c95a0L935

Are you using the mirror from the installer or a local build ? If you are using a local build you should try to sign it as antivirus are more kind with them.