EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Eject with network mountpoint

Also by EldoS: CallbackFilter
A component to monitor and control disk activity, track file and directory operations (create, read, write, rename etc.), alter file data, encrypt files, create virtual files.
Posted: 06/09/2011 10:50:51
by Jeff Mancuso (Standard support level)
Joined: 06/09/2011
Posts: 6

Ejection is supported explicitly for PnP devices but it does not seem to work for network drives [CBFS_SYMLINK_NETWORK]. When you right click a drive mounted through CBFS in Explorer and select disconnect it says the network connection cannot be found.

Is the expected behavior? It seems easy enough to add this feature [have the NP send an IRP to process the ejection].

Posted: 06/09/2011 11:17:28
by Volodymyr Zinin (Team)

Please specify what flags you are setting in the CallbackFileSystem.AddMountingPoint method.
Posted: 06/09/2011 11:28:04
by Jeff Mancuso (Standard support level)
Joined: 06/09/2011
Posts: 6

cbfs.AddMountingPoint(s, CBFS_SYMLINK_NETWORK, NULL);

where s is "Z:;Server;Label"

Posted: 06/09/2011 11:53:43
by Volodymyr Zinin (Team)

Try to specify the flag CBFS_SYMLINK_NETWORK_ALLOW_MAP_AS_DRIVE in addition. It should help.
Posted: 06/09/2011 13:00:46
by Jeff Mancuso (Standard support level)
Joined: 06/09/2011
Posts: 6

That didn't work. I just installed build 92 [beta] and the problem seems to go away.

Machine is Win7 x64. How close to final is 3.2?
Posted: 06/10/2011 01:23:39
by Volodymyr Zinin (Team)

Perhaps in a month or so. But the current beta is stable enough (actually it isn't a beta but rather prerelease).
Also by EldoS: MsgConnect
Cross-platform protocol-independent communication framework for building peer-to-peer and client-server applications and middleware components.



Topic viewed 1224 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!