EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Create virtual Drives inside a virtual drive

Also by EldoS: MsgConnect
Cross-platform protocol-independent communication framework for building peer-to-peer and client-server applications and middleware components.
#27317
Posted: 11/24/2013 02:49:21
by pnina (Basic support level)
Joined: 11/20/2013
Posts: 36

Is it possible to create virtual Drives inside a virtual drive?

This is the situation I'm talking about:
In my computer I want to have a virtual drive named "a"
When I go inside this virtual drive "a", I have 5 virtual drives - a1,a2,a3,a4,a5, and each of these 5 drives contains files, folders, etc.

So basically, I don't want them all to be seen in my computer, but to put them all under one virtual drive.
#27318
Posted: 11/24/2013 03:01:30
by Eugene Mayevski (EldoS Corp.)

How can a drive be "inside" a drive?

Let's start from the beginning. The word "drive" is not correct in modern OS. What you see as "C:", "M:", "X:" on Windows are mounting points for certain devices, and each device can have several mounting points. Device can expose just part of the storage (HDD partition for example) via the mounting point. The list of mounting points is flat.

Given the above, what do you want to do?


Sincerely yours
Eugene Mayevski
#27319
Posted: 11/24/2013 05:43:07
by pnina (Basic support level)
Joined: 11/20/2013
Posts: 36

I see.. got it :)
I'm good with the info.. tnx!

One more question:
Why in the App version Storage.Logo = "abc"; is fine
And in the OS version it gives me the error: "The parameter is incorrect." (no matter what I write there)
#27321
Posted: 11/24/2013 05:48:19
by Eugene Mayevski (EldoS Corp.)

No idea. In order for us to make any conclusions about errors you get, please provide a code snippet that illustrates how you create the storage and configure its parameters. Also remember to specify the development platform and version (if it's C++, specify compiler version and target OS, if it's .NET, please specify .NET version).


Sincerely yours
Eugene Mayevski
#27322
Posted: 11/24/2013 05:58:24
by pnina (Basic support level)
Joined: 11/20/2013
Posts: 36

I am using .NET 4.5,
platform x86,
C#,
SolFS5DrvNet.dll under EldoS\SolFS.OS\dotNET\NET_45\Win32,
OS version.

I copied the code from the App version (instead of the mount button that was in the sample):
Code
private void btnCreate_Click(object sender, EventArgs e)
        {
            if (CheckOpened() == false)
                return;
            if (dlgSave.ShowDialog() == DialogResult.OK)
            {
                m_Storage = new SolFSStorage();

                m_Storage.FileName = dlgSave.FileName;
                m_Storage.Logo = "ab";
                m_Storage.PageSize = 512;
                m_Storage.Open(StorageOpenMode.somCreateAlways);
                Opened = true;
            }
        }


The error accures in this line:
Code
m_Storage.Logo = "ab";


Before that I also do:
Code
SolFSStorage.Initialize("{..-..-..-..-..}");
#27324
Posted: 11/24/2013 06:47:52
by Eugene Mayevski (EldoS Corp.)

Thank you for the detailed description. I've moved it to the helpdesk where our developers can work on it.


Sincerely yours
Eugene Mayevski
#27325
Posted: 11/24/2013 06:54:35
by pnina (Basic support level)
Joined: 11/20/2013
Posts: 36

Thanks! :)
Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.

Reply

Statistics

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