How to format a volume

I’m currently developing a disk utility that works just like Ghost, we need
to prepare a target volume for data restoring, any one has suggestions on
how to format a volume using a volume handle(as we have to lock the volume
first, we could not invoke formatex), any help would be
appreciated!!!

hyeena wrote:

I’m currently developing a disk utility that works just like Ghost, we
need to prepare a target volume for data restoring, any one has
suggestions on how to format a volume using a volume handle(as we have
to lock the volume first, we could not invoke formatex), any help
would be appreciated!!!

The last time I used it, Ghost was not a Windows application. Its
restore process runs standalone, without an operating system, in order
to avoid issues like this.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

IIRC Ghost uses WinPE. Norton Antivirus - too.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Tim Roberts”
To: “Windows System Software Devs Interest List”
Sent: Monday, August 01, 2005 8:18 PM
Subject: Re: [ntdev] How to format a volume

> hyeena wrote:
>
> > I’m currently developing a disk utility that works just like Ghost, we
> > need to prepare a target volume for data restoring, any one has
> > suggestions on how to format a volume using a volume handle(as we have
> > to lock the volume first, we could not invoke formatex), any help
> > would be appreciated!!!
>
>
> The last time I used it, Ghost was not a Windows application. Its
> restore process runs standalone, without an operating system, in order
> to avoid issues like this.
>
> –
> Tim Roberts, xxxxx@probo.com
> Providenza & Boekelheide, Inc.
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com

If you buy Ghost 9.0 from a store now you get Ghost 9.0 and Ghost 2003.
Ghost 9.0 is the product from PowerQuest. Ghost 2003 is the old Symantec
Norton command line product. You get two CDs, only one of which can be
installed at a time.

I like 2003 when used with MS-DOS 7.0 so I can back up to FAT32 partitions.
It works well for me as a backup utility. The 9.0 version will back up a
running system to any storage device accessible from Windows. Both are very
useful for testing.

“Tim Roberts” wrote in message news:xxxxx@ntdev…
> hyeena wrote:
>
>> I’m currently developing a disk utility that works just like Ghost, we
>> need to prepare a target volume for data restoring, any one has
>> suggestions on how to format a volume using a volume handle(as we have
>> to lock the volume first, we could not invoke formatex), any help
>> would be appreciated!!!
>
>
> The last time I used it, Ghost was not a Windows application. Its
> restore process runs standalone, without an operating system, in order
> to avoid issues like this.
>
> –
> Tim Roberts, xxxxx@probo.com
> Providenza & Boekelheide, Inc.
>
>

I can initialize a target volume into FAT32 format (as documented in
Microsoft’s official file ‘FAT On-Disk Format’)now, the problem is now
should I do anything with the partition table entry? It seems that it
doesn’t matter wheter I update the partition type in the partition table
entry or not.

“hyeena” wrote in message news:xxxxx@ntdev…
> I’m currently developing a disk utility that works just like Ghost, we
> need to prepare a target volume for data restoring, any one has
> suggestions on how to format a volume using a volume handle(as we have to
> lock the volume first, we could not invoke formatex), any help would be
> appreciated!!!
>