172 Command-line switches
-CRC32 switch usage
-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={create|verify|pcreate|pverify|dcreate|dverify},
src={{disk}|{partition}|{file}},crcfile={file}|{partition},vlist={file},vexcept={file}
ghost.exe -clone,mode=prestore,
src=2:3\image.gho:5,dst=4:2
Restores the fifth partition of the
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,
src=g:\3prtdisk.gho,dst=1,
sze1=450M,sze2=1599M,sze3=2047M
Restores disk one from an image file
and resize the first partition to 450
MB, the second to 1599 MB, and the
third to 2047 MB.
ghost.exe -clone,mode=restore,src=
g:\2prtdisk.gho,dst=1,szeL
Restores a disk from an image file and
resizes the last partition to fill the
remaining space.
ghost.exe -clone,mode=copy,src=
2:2,dst=@MT0
Creates an image file of the second
partition on disk 2 onto the first tape
drive.
ghost.exe -clone,mode=pcreate,src=
2:1:4:6,dst=d:\part146.gho
Creates an image file with only the
selected partitions.
This example selects partitions 1, 4,
and 6 from disk 2.
Table A-6 Clone switch usage examples
Switch Function