EldoS | Feel safer!

Software components for data protection, secure storage and transfer

How can I make a separate umount app?

Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.
#15343
Posted: 12/20/2010 07:02:44
by Sangmin Lee (Standard support level)
Joined: 06/03/2009
Posts: 57

FYI, I attatch the stackframe when one of the mounter hang within createstorage()


#15344
Posted: 12/20/2010 07:15:51
by Sangmin Lee (Standard support level)
Joined: 06/03/2009
Posts: 57

Also, another observation...

I copyied and integrated only the callback functions of the mapper example into my mounter app and launched as service and got same results..

With the callbacks from mapper example, I only changed addmountingpoint() type from simple to SYMLINK_NETWORK.

After rebooting, the volume labels for two drives not set to the expected form.
I exptect volname(\\hostname) (Z:), but shown as just a network drive.

By the way, with my origianl mounter app, I notice significant initial delay when I click on the drive with mouse just after rebooting. But, mapper integrated mounter does not. My original mounter is a kind of network file system client which uses WSA APIs intensively. Is there any reason for this problem?
#15345
Posted: 12/20/2010 07:23:31
by Eugene Mayevski (EldoS Corp.)

Maybe to make the long story shorter you could just assemble a test case for us? So that we understand, what's going on there.


Sincerely yours
Eugene Mayevski
#15358
Posted: 12/22/2010 02:03:00
by Sangmin Lee (Standard support level)
Joined: 06/03/2009
Posts: 57

I will send the test case to you.. But it may contains sensitive code for us, so I want to send it via e-mail.. Which e-mail address?

Thanks..
#15359
Posted: 12/22/2010 02:23:01
by Eugene Mayevski (EldoS Corp.)

There's a ticket in HelpDesk for your problem where I've posted the reply. Let's continue in HelpDesk.


Sincerely yours
Eugene Mayevski
#15364
Posted: 12/22/2010 11:06:50
by Sangmin Lee (Standard support level)
Joined: 06/03/2009
Posts: 57

I found that createstorage() hang within DeviceIoControl() function of following code. There is nothing I can do further.. Only refusee is to serialize mount request one by one.

Thanks...



BOOL
STORLIBAPI
StorLibBusDeviceIoControl(
IN DWORD BusUid,
IN DWORD IoControlCode,
IN PVOID InBuffer,
IN DWORD InBufferSize,
OUT PVOID OutBuffer,
OUT DWORD OutBufferSize,
OUT PDWORD BytesReturned OPTIONAL
)
{
HANDLE busHandle;
DWORD bytesReturned;
BOOL b;
DWORD lastError;

busHandle = StorLibBusDeviceOpen(BusUid);
if (busHandle == INVALID_HANDLE_VALUE)
return FALSE;

b = DeviceIoControl( busHandle,
IoControlCode,
InBuffer,
InBufferSize,
OutBuffer,
OutBufferSize,
&bytesReturned,
NULL );

lastError = GetLastError();
CloseHandle(busHandle);
SetLastError(lastError);

if (BytesReturned)
*BytesReturned = bytesReturned;

return b;
}
#15365
Posted: 12/22/2010 11:17:15
by Sangmin Lee (Standard support level)
Joined: 06/03/2009
Posts: 57

Ah... I found the reason for the initial delay of mount app mentioned above. It has nothing to do with CBFS. It was the socket connection delay.. WSAConnect()..

WSAConnect(AF_INET,...) causes delay of few seconds (0 ~ 5 seconds).
It varies...

Server runs within same subnet and network is very reliable. Where comes that delay?...

However, this initial delay might causes some race condition among concurrent mounter app. Is it possible?
#15418
Posted: 01/04/2011 01:43:42
by Sangmin Lee (Standard support level)
Joined: 06/03/2009
Posts: 57

I'm happy to hear that the problem have been fixed and will be released soon. When it will be available?
#15432
Posted: 01/07/2011 05:35:49
by Eugene Mayevski (EldoS Corp.)

Sorry about the delay. We are reviewing a couple of other issue reports (to at least figure out if they are bugs or something else), and as soon as we are done with them, we'll make an update.


Sincerely yours
Eugene Mayevski
#15621
Posted: 01/26/2011 19:04:08
by Sangmin Lee (Standard support level)
Joined: 06/03/2009
Posts: 57

Thank you!!! The new release works perfectly!!
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 6754 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!