EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Reparse Points in CBFS

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
#32960
Posted: 04/06/2015 16:01:22
by Nick Bethmann (Standard support level)
Joined: 01/07/2015
Posts: 7

I tried to implement a reparse point/junction in a cbfs mount point with FileSystemName = "NTFS". I tell the system that there is a file with FileAttributes.ReparsePoint | FileAttributes.Directory and it just cannot read the file. It does open it OK but then I never see a read but an error is returned to the application: Error: Incorrect function.

I'm using the "fsutil reparsepoint query" command to read it. If I open the folder in Explorer it ignores the reparse point and just treats it as if it's a directory, again, I never see a read on the reparse data.


C# Developer Nick
#32967
Posted: 04/07/2015 01:01:33
by Volodymyr Zinin (EldoS Corp.)

Unfortunately reparse points are not supported by CBFS, but we are going to implement it. When you specify FileAttributes.ReparsePoint it's just returned by CBFS to the originator of the request. But there is no any additional support for it.
Actually in many cases the reparse points are not necessary. For example if it's required to only show some folder from another disk as part of the CBFS disk then you can do in the way as the Mapper sample does (i.e. just map/mirror some physical folder as virtual).
#38252
Posted: 11/23/2016 11:20:53
by Ivan P (Priority Standard support level)
Joined: 04/11/2011
Posts: 66

If reparse points aren't supported, maybe it's better not to return FILE_SUPPORTS_REPARSE_POINTS flag from GetVolumeInformation() call?

Unfortunately I could not find any option in CallBackFileSystem class to turn this off.
#38253
Posted: 11/23/2016 11:34:03
by Eugene Mayevski (EldoS Corp.)

We don't plan any updates to CBFS 6 and reparse points will be supported in CBFS 7.


Sincerely yours
Eugene Mayevski
#38256
Posted: 11/23/2016 12:55:28
by Ivan P (Priority Standard support level)
Joined: 04/11/2011
Posts: 66

Will it be possible for developer to turn reparse points support off?
#38257
Posted: 11/23/2016 13:17:26
by Eugene Mayevski (EldoS Corp.)

Yes, of course, one is not obliged to support them.


Sincerely yours
Eugene Mayevski
Also by EldoS: SecureBlackbox
200+ components and classes for digital security, signing, encryption and secure networking.

Reply

Statistics

Topic viewed 2326 times

Number of guests: 1, 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!