EldoS | Feel safer!

Software components for data protection, secure storage and transfer

CBFS 5 mounts additional drive on Windows 10.

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
#33895
Posted: 07/06/2015 21:39:52
by Bartosz Siewior (Priority Standard support level)
Joined: 01/13/2015
Posts: 6

Hi, I found a problem with CBFS and Windows 10. I was able to reproduce the behavior using Mapper sample.

When I add network drive under letter F: and letter E: is free and when I have implemented OnGetVolumeLabel callback, CBFS adds additional drive (normal - not network) under letter E: with the same data. The result is that I have two drives with the same data (one is network, the other one isn't). On previous Windows versions the problem didn't exist. I always had only one drive even when I was settings different labels in OnGetVolumeLabel callback.

I know that you're working on driver that's gonna officially support Windows 10. I just wanted to let you know of that issue in case you weren't aware yet.
#33896
Posted: 07/06/2015 22:05:22
by Volodymyr Zinin (EldoS Corp.)

Hi,

Is the problem reproducible with the last CBFS build (v.5.1.159)? As I remember a similar problem has been fixed there.

Thanks.
#33897
Posted: 07/06/2015 23:11:04
by Bartosz Siewior (Priority Standard support level)
Joined: 01/13/2015
Posts: 6

I didn't check the latest. The one I'm using right now is v.5.1.157. I was just testing my software on Windows 10 VM and this is what I discovered. I don't have possibility to test newest build right now because when I added vm's share under E: the problem disappeared. Even after I removed vm's shared from E: I wasn't able to reproduce it again... I would probably have to get fresh Windows 10 vm to check newest build.
#34078
Posted: 07/20/2015 21:55:03
by Bartosz Siewior (Priority Standard support level)
Joined: 01/13/2015
Posts: 6

Hi guys,

I've checked the latest build (5.1.160) and I wasn't able to reproduce the problem. Neither with my software nor with Mapper. I guess this is already fixed then :).
#34079
Posted: 07/20/2015 22:12:08
by Eugene Mayevski (EldoS Corp.)

Just for information:

a "duplicate" disk letter is not a bug at all.

Windows automatically assigns a drive letter to the newly mounted volume. There's no documented way to suppress this behavior.

What CBFS does is a call to one of internal functions of Windows kernel, which accepts certain constant as a parameter. This constant is different from version to version. So for each Windows version Volodymyr needs to dig deep into Windows kernel, find the proper value of the constant and add it to our code so that CBFS could remove the automatically assigned drive letter.


Sincerely yours
Eugene Mayevski
#36252
Posted: 03/18/2016 19:16:19
by Takhir Bedertdinov (Premium support level)
Joined: 12/11/2009
Posts: 14

I could reproduce these diplicated drives situation on Windows 10 with CBFS 6.0.171.87 ONLY in the combination of g_CbFs.SetStorageType(CallbackFileSystem::stDiskPnP) set and g_CbFs.SetStorageCharacteristics((CallbackFileSystem::CbFsStorageCharacteristics)0) NOT set.
Hope this help.

Takhir
#36253
Posted: 03/18/2016 19:26:05
by Eugene Mayevski (EldoS Corp.)

We will add this to our task list and check it when the time allows (maybe in April).


Sincerely yours
Eugene Mayevski
Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages

Reply

Statistics

Topic viewed 4937 times

Number of guests: 2, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!