EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Reparse Points in CBFS

Posted: 04/06/2015 16:01:22
by Nick Bethmann (Standard support level)
Joined: 01/07/2015
Posts: 9

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
Posted: 04/07/2015 01:01:33
by Volodymyr Zinin (Team)

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).
Posted: 11/23/2016 11:20:53
by Ivan P (Priority Standard support level)
Joined: 04/11/2011
Posts: 70

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.
Posted: 11/23/2016 11:34:03
by Eugene Mayevski (Team)

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

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

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

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

Sincerely yours
Eugene Mayevski



Topic viewed 6842 times

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


Back to top

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

Got it!