EldoS | Feel safer!

Software components for data protection, secure storage and transfer

When to call SetFileSystemName

Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.
#27333
Posted: 11/24/2013 12:00:47
by Andy Key (Standard support level)
Joined: 11/12/2013
Posts: 16

https://eldos.com/documentation/cbfs/ref_cl_cbfs_mtd_setfilesystemname.html
tells me that
The method must be called when the media is mounted.

If I do so, I get an exception saying
Storage is Active

I find I need to call it after Initialize and before CreateStorage.

I therefore think the online help at the URL above needs revising.

{{{ Andy
#27334
Posted: 11/24/2013 12:05:48
by Eugene Mayevski (EldoS Corp.)

In version 4 that depends on drive type.

In version 5 the filesystem name can be set only before the media is mounted, and the help file reflects this. The help on the site is for version 4.


Sincerely yours
Eugene Mayevski
#27724
Posted: 12/19/2013 18:13:04
by Henri Hein (Priority Standard support level)
Joined: 10/17/2013
Posts: 17

FWIW, Andy's pointer was helpful to me. I got the same error, and after seeing the note in help, moved the call to before MountMedia, but still got the error. After following Andy's tip, I moved to call up to after Initialize(), and then it worked. It would be nice if the help calls this out, so others won't have to experiment like us.


Henri Hein
Software Developer, Bitcasa
#27731
Posted: 12/20/2013 02:34:52
by Volodymyr Zinin (EldoS Corp.)

Thank you for pointing us out on this. We will correct it so it will be possible to call SetFileSystemName after the CreateStorage call (but always before the MountMedia call).

Reply

Statistics

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