EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Eject on Removable Drives fails

Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.
#13745
Posted: 06/24/2010 17:05:21
by Mridul Pentapalli (Standard support level)
Joined: 11/30/2009
Posts: 26

Hi,

I modified the sample Mounter code in CBFS 3.0 to create a Removable device using StorageCharacteristics = scRemovableMedia. Everything else remains the same (PnP disk).

Right-clicking the 'Eject' button fails with an error 'An error occurred while ejecting <drive letter>'.

Any idea how do I get Eject to work?

Regards,
Mridul.
#13747
Posted: 06/25/2010 00:30:58
by Volodymyr Zinin (EldoS Corp.)

Hello Mridul,

Currently the ejection in such a way isn't supported. You can do it only by the use of the CallbackFS API. But we are going to add it in future releases.

Is this feature important for you? If so, can you say why?
Thanks.
#13753
Posted: 06/25/2010 15:54:45
by Mridul Pentapalli (Standard support level)
Joined: 11/30/2009
Posts: 26

It is important because the "Eject" command is a normal way of interacting with removable disks. Our product will contain an apparently broken UI element, and our customers will contact us to ask why "eject" doesn't work. In short, it is important because our product shows a normal-looking disk, and customers will expect it to act like a normal disk.

Also, our automated test system ejects & reconnects removable disks using PnP commands.

Hope this helps.

Regards,
Mridul.
#13757
Posted: 06/26/2010 05:09:56
by Volodymyr Zinin (EldoS Corp.)

We will add this feature in the next build, which is expected to be done in a few weeks. I'll notify here about it.
#13769
Posted: 06/28/2010 10:03:30
by Mridul Pentapalli (Standard support level)
Joined: 11/30/2009
Posts: 26

Thank you. I am looking forward to it.

Regards,
Mridul.
#14087
Posted: 08/03/2010 03:48:58
by Volodymyr Zinin (EldoS Corp.)

We have made a prerelease build that contains the ejection feature. Here it is:
http://www.eldos.com/cbfs/download-prerelease.php
#14104
Posted: 08/03/2010 14:06:10
by Mridul Pentapalli (Standard support level)
Joined: 11/30/2009
Posts: 26

Hi,

I am using the latest beta build 3.1.79.177. I am not sure how to code for Eject. Right now, 'Eject' does not invoke the OnUnmount callback even in the sample Mapper application.

I am creating a Storage with type stDiskPnP with StorageCharacteristics = scRemovableMedia.

Can you please provide some sample code?

Regards,
Mridul.
#14106
Posted: 08/04/2010 05:36:07
by Volodymyr Zinin (EldoS Corp.)

Hi Mridul,

Please specify how you do the ejection.
Thanks.
#14107
Posted: 08/04/2010 08:47:15
by Mridul Pentapalli (Standard support level)
Joined: 11/30/2009
Posts: 26

Hi,

I created a Storage with RemovableMedia characteristics. In Explorer, if I right-click the drive & hit Eject in the context menu, it fails with the error
'An error occurred while ejecting <drive letter>'. The callback for Unmount is not invoked.

Regards,
Mridul.
#14112
Posted: 08/04/2010 15:33:36
by Volodymyr Zinin (EldoS Corp.)

Thank you. In the latest build the device ejection is implemented only via the IRP_MN_EJECT PnP request. We will check what is necessary to do in this case and I'll tell you the result in a few days.
Also by EldoS: Solid File System
A virtual file system that offers a feature-rich storage for application documents and data with built-in compression and encryption.

Reply

Statistics

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