jetwhiz / encfs4win

Windows port of EncFS
https://encfs.win
Other
401 stars 41 forks source link

Show correct file system info in File Explorer #143

Closed leochou0729 closed 4 years ago

leochou0729 commented 4 years ago

Hello, I've submitted an issue to Dokany. Please take a look at this link. https://github.com/dokan-dev/dokany/issues/885

Now the problem has been resolved using a new mount manager option, but there is a side effect that the file system info shows encfs executable instead of NTFS. I wonder which callback function is used to show this info. Is it implemented in encfs? Thanks!

jetwhiz commented 4 years ago

Hi @leochou0729 -- you might be able to pull this off by passing the -ofsname parameter on to Dokany, such as by doing encfs.exe ... -o -ofsname=NTFS or encfs.exe ... -o fsname=NTFS. Can you try this out and see if that works?

leochou0729 commented 4 years ago

Hi @jetwhiz, I've tried "-o fsname=NTFS" and it works. I have one small question. If I don't use the mount manager option, the encfs drive can show the correct file system info. Which callback function provides this info? Passing fsname to Dokan seems inflexible because the source directory could be on a FAT32 or exFAT thumb drive. Thanks!

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.