1 '\" te
   2 .\" Portions Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved
   3 .\" Copyright (c) 2002-2006 Szabolcs Szakacsits
   4 .\" Copyright (c) 2002-2005 Anton Altaparmakov
   5 .\" Copyright (c) 2002-2003 Richard Russon
   6 .\" Copyright (c) 2007 Yura Pakhuchiy
   7 .\" 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
   8 .\" 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
   9 .\" (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
  10 .TH NTFSCMP 1M "May 28, 2009"
  11 .SH NAME
  12 ntfscmp \- compare two NTFS file systems and report the differences
  13 .SH SYNOPSIS
  14 .LP
  15 .nf
  16 \fBntfscmp\fR [\fIoptions\fR] \fIdevice1\fR \fIdevice2\fR
  17 .fi
  18 
  19 .SH DESCRIPTION
  20 .sp
  21 .LP
  22 The \fBntfscmp\fR utility compares all aspects of two NTFS file systems and
  23 reports all differences it finds. The file systems can be on block devices or
  24 in image files. \fBntfscmp\fR can be used for volume verification. However, its
  25 primary purpose is to be an efficient development tool, used to quickly locate,
  26 identify, and check the correctness of the metadata changes made to NTFS.
  27 .sp
  28 .LP
  29 If one is interested only in the NTFS metadata changes,  it can be useful to
  30 compare the metadata images created by using the \fB--metadata\fR option of
  31 \fBntfsclone\fR(1M) to eliminate the usually uninteresting timestamp changes.
  32 .sp
  33 .LP
  34 The terse output of \fBntfscmp\fR is intentional, because the  provided
  35 information is sufficient to determine  exact differences. More copious output
  36 can be obtained by using \fBdiff\fR(1) to compare the  verbose output of
  37 \fBntfsinfo\fR(1M) for each reported inode.
  38 .SH OPTIONS
  39 .sp
  40 .LP
  41 Supported options are listed below. Options have both single-letter and
  42 full-name forms.
  43 .sp
  44 .ne 2
  45 .na
  46 \fB\fB-h\fR, \fB--help\fR\fR
  47 .ad
  48 .sp .6
  49 .RS 4n
  50 Display help and exit.
  51 .RE
  52 
  53 .sp
  54 .ne 2
  55 .na
  56 \fB\fB-P\fR, \fB--no-progress-bar\fR\fR
  57 .ad
  58 .sp .6
  59 .RS 4n
  60 Do not show progress bars.
  61 .RE
  62 
  63 .sp
  64 .ne 2
  65 .na
  66 \fB\fB-v\fR, \fB--verbose\fR\fR
  67 .ad
  68 .sp .6
  69 .RS 4n
  70 Display more debug, warning, and error messages.
  71 .RE
  72 
  73 .SH EXIT STATUS
  74 .sp
  75 .LP
  76 The exit code is \fB0\fR on success, non-zero otherwise.
  77 .SH ATTRIBUTES
  78 .sp
  79 .LP
  80 See \fBattributes\fR(5) for descriptions of the following attributes:
  81 .sp
  82 
  83 .sp
  84 .TS
  85 box;
  86 c | c
  87 l | l .
  88 ATTRIBUTE TYPE  ATTRIBUTE VALUE
  89 _
  90 Interface Stability     Uncommitted
  91 .TE
  92 
  93 .SH SEE ALSO
  94 .sp
  95 .LP
  96 \fBdiff\fR(1), \fBntfscat\fR(1M), \fBntfsclone\fR(1M), \fBntfsinfo\fR(1M),
  97 \fBntfsprogs\fR(1M), \fBparted\fR(1M), \fBattributes\fR(5)
  98 .sp
  99 .LP
 100 http://wiki.linux-ntfs.org
 101 .SH AUTHORS
 102 .sp
 103 .LP
 104 \fBntfscmp\fR was written by Szabolcs Szakacsits.