EldoS | Feel safer!

Software components for data protection, secure storage and transfer

How to format a hidden CallbackDisk

Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.
#6623
Posted: 06/13/2008 15:49:57
by Warner Ardelt (Basic support level)
Joined: 05/22/2008
Posts: 10

Hello,

I'm ready to try a hidden CallbackDisk where I use a named mounting point:
(i.e. "\\.\MySecretDisk").

I've passed the name as such in the following function(s) (from demo sample):

mCBDisk.AddMountingPoint(L"MySecretDisk");

mCBDisk.DeleteMountingPoint(L"MySecretDisk");

When I run the sample it shows without error as being mounted.

I was trying to see if it was mounted via console using VOL cmd but did not see..

----------------------
C:\>VOL MySecretDisk
The system cannot find the drive specified.

C:\>VOL MySecretDisk:
The system cannot find the drive specified.

C:\>VOL \.\MySecretDisk
The system cannot find the drive specified.

C:\>VOL \.\MySecretDisk:
The system cannot find the drive specified.

C:\>VOL \.MySecretDisk:
The system cannot find the drive specified.

C:\>VOL .\MySecretDisk:
The system cannot find the drive specified.
----------------------

Ok, I suppose it's truely hidden, but how can I format it as hidden?

Is there anyway I could see it? I looked under WinXP hardware profile and did not find it there either :)


If I use a console format command, can I format as:

----------------------
format MySecretDisk:
or
format MySecretDisk
or
format \.\MySecretDisk
----------------------

but even if I try this on an open console window it doesn't find the volume.
(Invalid drive specification.)

I looked thru the help file but did not find this info.

Thank you,
Warren





#6625
Posted: 06/14/2008 02:10:01
by Eugene Mayevski (EldoS Corp.)

The easiest would be to format a disk, mapped from file, then copy the first X sectors of this file (the ones with FAT and root directory) and use them as a template for your disk, created in memory. I.e. when you create a hidden disk in memory, copy those X saved sectors to the beginning of your memory block.


Sincerely yours
Eugene Mayevski
#6628
Posted: 06/15/2008 00:20:08
by Warner Ardelt (Basic support level)
Joined: 05/22/2008
Posts: 10

Oh, Ok I haven't tried this yet but once I have a hidden disk (file or in memory), how can I redirect output or unarchive to it? I mean since you must use a name instead of a drive letter, can I for example redirect output to a hidden callbackdisk named "MySecretDisk" as follows (via console or as a system() call): (do I just use the name, and add a semicolon to it? I guess I should just try it ans see myself)

dir > MySecretDisk:\dirlisting.txt

Warren
#6629
Posted: 06/15/2008 01:48:28
by Eugene Mayevski (EldoS Corp.)

You control the media, so copy the data to it.


Sincerely yours
Eugene Mayevski

Reply

Statistics

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