Command: mirror
MIRROR records information about the disk, such as the boot sector,
file allocation table and root directory for possible data recovery
via UNFORMAT.
Syntax:
MIRROR [drive]
MIRROR [/PARTN]
MIRROR [/?]
Options:
drive Saves UNFORMAT information
to the end of drive #. FAT32 is NOT supported.
/PARTN Saves the partition tables to a:\partnsav.fil for future.
Recovery is possible via UNFORMAT /PARTN.
/P Same as /PARTN.
/? Shows the help.
Comments:
MIRROR stores a copy of the boot sector, 1 FAT table and the root
directory in a "storage location" near the end of the disk.
The space used by the mirror image is marked as reserved in the FAT
tables, if necessary. (Currently works only on FAT-16 file systems.)
By using the /PARTN switch with the mirror command you can
save a backup of the partition tables to a partnsav.fil on
the a: drive.
Note: The mirror image created by this program is only recoverable
by using the UNFORMAT program for FreeDOS.
Examples:
mirror d: (FAT32 is NOT supported.)
mirror /partn (Saves Backup to A:\partnsav.fil)
See also:
format
undelete
unformat
Copyright © 2008, updated in 2022 W. Spiegl.
This file is derived from the FreeDOS Spec Command HOWTO.
See the file H2Cpying for copying conditions.