172

Command-line switches

-CRC32 switch usage

Table A-6

Clone switch usage examples

 

 

 

Switch

 

Function

 

 

ghost.exe -clone,mode=prestore,

Restores the fifth partition of the

src=2:3\image.gho:5,dst=4:2

image file image.gho, which is located

 

 

on the third partition of the second

 

 

disk, to the second partition on the

 

 

4th disk. This switch only works if the

 

 

third partition on the second disk is

 

 

NTFS.

 

 

ghost.exe-clone,mode=restore,

Restores disk one from an image file

src=g:\3prtdisk.gho,dst=1,

and resize the first partition to 450

sze1=450M,sze2=1599M,sze3=2047M

MB, the second to 1599 MB, and the

 

 

third to 2047 MB.

 

 

ghost.exe -clone,mode=restore,src=

Restores a disk from an image file and

g:\2prtdisk.gho,dst=1,szeL

resizes the last partition to fill the

 

 

remaining space.

 

 

ghost.exe -clone,mode=copy,src=

Creates an image file of the second

2:2,dst=@MT0

 

partition on disk 2 onto the first tape

 

 

drive.

 

 

ghost.exe -clone,mode=pcreate,src=

Creates an image file with only the

2:1:4:6,dst=d:\part146.gho

selected partitions.

 

 

This example selects partitions 1, 4,

 

 

and 6 from disk 2.

 

 

 

-CRC32 switch usage

CRC checking works file-by-file with FAT partitions. NTFS partitions are CRC- checked within an image file by each MFT table. It is not possible at present to obtain a list of files failing a CRC check with an NTFS file system. When a CRC file is created for an NTFS partition, only a single CRC value is generated. You can also create a CRC file from an image file and verify it against a disk.

The full syntax for this switch is as follows:

-CRC32,action={createverifypcreatepverifydcreatedverify}, src={{disk}{partition}{file}},crcfile={file}{partition},vlist={file},vexcept={file}

Page 172
Image 172
Symantec 10024709 manual CRC32 switch usage, Ntfs