ntfscmp.1m revision c10c16dec587a0662068f6e2991c29ed3a9db943
te
Portions Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved
Copyright (c) 2002-2006 Szabolcs Szakacsits
Copyright (c) 2002-2005 Anton Altaparmakov
Copyright (c) 2002-2003 Richard Russon
Copyright (c) 2007 Yura Pakhuchiy
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation ; either version 2 of the License, or (at your option) any later version. This program is distributed
in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program
(in the main directory of the Linux-NTFS distribution in the file COPYING); if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 11-1307 USA
ntfscmp 1M "28 May 2009" "SunOS 5.11" "System Administration Commands"
NAME
ntfscmp - compare two NTFS file systems and report the differences
SYNOPSIS

ntfscmp [options] device1 device2
DESCRIPTION

The ntfscmp utility compares all aspects of two NTFS file systems and reports all differences it finds. The file systems can be on block devices or in image files. ntfscmp can be used for volume verification. However, its primary purpose is 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, it can be useful to compare the metadata images created by using the --metadata option of ntfsclone(1M) to eliminate the usually uninteresting timestamp changes.

The terse output of ntfscmp is intentional, because the provided information is sufficient to determine exact differences. More copious output can be obtained by using diff(1) to compare the verbose output of ntfsinfo(1M) for each reported inode.

OPTIONS

Supported options are listed below. Options have both single-letter and full-name forms.

-h, --help

Display help and exit.

-P, --no-progress-bar

Do not show progress bars.

-v, --verbose

Display more debug, warning, and error messages.

EXIT STATUS

The exit code is 0 on success, non-zero otherwise.

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
Interface StabilityUncommitted
SEE ALSO

diff(1), ntfscat(1M), ntfsclone(1M), ntfsinfo(1M), ntfsprogs(1M), parted(1M), attributes(5)

http://wiki.linux-ntfs.org

AUTHORS

ntfscmp was written by Szabolcs Szakacsits.