NTFSCMPSection: Maintenance Commands (8)
Updated: April 2006
Index | Return to Main Contents
NAMEntfscmp - compare two NTFS filesystems and tell the differences
SYNOPSISntfscmp [OPTIONS] DEVICE1 DEVICE2
DESCRIPTIONThe ntfscmp program makes a comparison between two NTFS filesystems from all aspects and reports all variances it finds. The filesystems can be on block devices or images files. Ntfscmp can be used for volume verification however its primary purpose was to be an efficient development tool, used to quickly locate, identify and check the correctness of the metadata changes made to NTFS.
If one is interested only in the NTFS metadata changes then it could be useful to compare the metadata images created by using the --metadata option of ntfsclone(8) to eliminate the usually uninteresting timestamp changes.
The terse output of ntfscmp is intentional because the provided information is enough in each case to determine the exact differences. This can be achieved, for instance, if one compares the verbose outputs of ntfsinfo(8) for each reported inodes by the diff(1) utility.
OPTIONSBelow is a summary of the options that ntfscmp accepts.
- -P, --no-progress-bar
- Don't show progress bars.
- -v, --verbose
- More informational output.
- -h, --help
- Display help and exit.
EXIT CODESThe exit code is 0 on success, non-zero otherwise.
KNOWN ISSUESNo problem is known. If you would find otherwise then please send your report to the development team: email@example.com
AUTHORntfscmp was written by Szabolcs Szakacsits. It was ported to ntfs-3g by Erik Larsson.
AVAILABILITYntfscmp is part of the ntfs-3g package and is available from:
SEE ALSOntfsinfo(8), ntfscat(8), diff(1), ntfsclone(8), ntfsprogs(8)
Return to Main Contents