dokan-dev / dokan-dotnet

Dokan DotNet Wrapper
http://dokan-dev.github.io
MIT License
462 stars 116 forks source link

The volume label is incorrect #358

Closed stroev-ao closed 7 months ago

stroev-ao commented 7 months ago

image I set the volume label via the constructor before mounting the disk. Sometimes when I open Explorer the newly mounted virtual disk has the volume label "DOKAN" like in the screenshot. After that I refresh Explorer and only then the correct volume label is displayed.

Liryna commented 7 months ago

This is expected but rare if the communication between the kernel and library is too slow to setup https://github.com/dokan-dev/dokany/blob/master/sys/volume.c#L52-L74

stroev-ao commented 7 months ago

Thank you for your reply.