C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Create and mount partitions

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++)
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Tue May 15, 2007 9:11 am    Post subject: Create and mount partitions Reply with quote



Hello,
I'm a student software developer.
As a part of an excerise I'm doing I'm trying to build a program to
create "mount files" and mount them.
Something like Sarah Dean's OTFE but really really basic, just to
create partitions and mount them. Nothing else.
All I want to do is be able to create a hidden partition inside an
existing partition (by providing an offset just like in FreeOTFE) and
be able to mount and dismount it.
Without anything else, no encryption, no other tools. Just that.

I downloaded Sarah's code, but it's in Delphi and I got really lost in
it. I hoped maybe someone here can help me and direct me. I already
sent her e-mail, but I got no reply.

I have no idea where to start with something like this, I wanna do in C
++.
But I have really hard time to start, I can't find proper
documentation in MSDN on how to do it, or available stuff on-line.

I hoped you can help me, give me a rough idea on what APIs I need to
use, I saw Sarah is using drivers, but for my basic needs I don't
think I need any drivers - what do you think? Do I need special
driver's to create and mount "hidden" partitions?

Please help me find some API or anything to get me started, even open-
source C++ app would help.

Thanks alot!
Michael
Back to top
Erik Wikström
Guest





PostPosted: Tue May 15, 2007 9:11 am    Post subject: Re: Create and mount partitions Reply with quote



On 15 Maj, 09:52, m.smith_1...@yahoo.com wrote:
Quote:
Hello,
I'm a student software developer.
As a part of an excerise I'm doing I'm trying to build a program to
create "mount files" and mount them.
Something like Sarah Dean's OTFE but really really basic, just to
create partitions and mount them. Nothing else.
All I want to do is be able to create a hidden partition inside an
existing partition (by providing an offset just like in FreeOTFE) and
be able to mount and dismount it.
Without anything else, no encryption, no other tools. Just that.

I downloaded Sarah's code, but it's in Delphi and I got really lost in
it. I hoped maybe someone here can help me and direct me. I already
sent her e-mail, but I got no reply.

I have no idea where to start with something like this, I wanna do in C
++.
But I have really hard time to start, I can't find proper
documentation in MSDN on how to do it, or available stuff on-line.

I hoped you can help me, give me a rough idea on what APIs I need to
use, I saw Sarah is using drivers, but for my basic needs I don't
think I need any drivers - what do you think? Do I need special
driver's to create and mount "hidden" partitions?

Please help me find some API or anything to get me started, even open-
source C++ app would help.

First of all, where did you get the idea to ask this question here
when it basically has nothing to do with C++? Platform specific
questions should be asked in platform specific forums, you'll have
better luck in one of the microsoft.public.windows.* groups.

As to your question: I'm not familiar with OTFE but it sounds like a
method to mount the content of a file as a filesystem. Since I don't
know of any existing programs that does this I would suspect that
you'd have to write at least the file system driver (this can be quite
a task) or a driver which takes a file and makes Windows treat it like
a disk (in which case you can use the built-in filesystem drivers in
Windows.

As to hiding a partition, if you use normal PC partitions then you
can't hide one since they are made to be visible. So you would have to
create some partition scheme of your own and rewrite all that logic
too.

--
Erik Wikström
Back to top
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.