EldoS | Feel safer!

Software components for data protection, secure storage and transfer

failed for error 32 while trying to open a storage

Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.
#5105
Posted: 02/21/2008 04:34:21
by xiaoqing lu (Basic support level)
Joined: 02/13/2008
Posts: 19

Hello all,

I'm trying to implement a suit of commandline tools to manage the storage of SolFS.
1. solfs <storagename>;
2. solfs <storagename> <mounting-point>

After creating a storage by "solfs C:\\testfs.st", I use "solfs C:\\testfs.st J:" to mount the storage to J:, but got "open failed for error 32." Any idea on it? Thanks.

Attached are the sample codes.
//create
if (argc == 2){
result=StorageCreate(StorageName,True,4096,NULL,&storageHandle,'/',False,False);
if (result != 0 ){
printf("create failed for error:%d\n",result);
return 1;
}
return 0;
}
if (argc == 3){
//mount
result=StorageForceUnmount(StorageName);
if (result != 0 ){
printf("unmount failed for error:%d\n",result);
return 1;
}
result=StorageOpen(StorageName, &storageHandle, '/',False, False);
if (result != 0 ){
printf("open failed for error:%d\n",result);
return 1;
}
......
#5107
Posted: 02/21/2008 06:14:50
by Alexander Plas (EldoS Corp.)

Moved to HelpDesk.

Reply

Statistics

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