summaryrefslogtreecommitdiff
path: root/ntfsprogs/ntfsfix.8.in (plain)
blob: 8976c90c6fe06e34dcdbda7054cd31161bb5560c
1.\" Copyright (c) 2005-2006 Szabolcs Szakacsits.
2.\" Copyright (c) 2005 Richard Russon.
3.\" This file may be copied under the terms of the GNU Public License.
4.\"
5.TH NTFSFIX 8 "January 2006" "ntfs-3g @VERSION@"
6.SH NAME
7ntfsfix \- fix common errors and force Windows to check NTFS
8.SH SYNOPSIS
9.B ntfsfix
10[\fIoptions\fR] \fIdevice\fR
11.SH DESCRIPTION
12.B ntfsfix
13is a utility that fixes some common NTFS problems.
14.B ntfsfix
15is
16.B NOT
17a Linux version of chkdsk. It only repairs some fundamental NTFS
18inconsistencies, resets the NTFS journal file and schedules an NTFS consistency
19check for the first boot into Windows.
20.sp
21You may run
22.B ntfsfix
23on an NTFS volume if you think it was damaged by Windows or some other way
24and it cannot be mounted.
25.SH OPTIONS
26Below is a summary of all the options that
27.B ntfsfix
28accepts. Nearly all options have two equivalent names. The short name is
29preceded by
30.B \-
31and the long name is preceded by
32.BR \-\- .
33Any single letter options, that don't take an argument, can be combined into a
34single command, e.g.
35.B \-fv
36is equivalent to
37.BR "\-f \-v" .
38Long named options can be abbreviated to any unique prefix of their name.
39.TP
40\fB\-b\fR, \fB\-\-clear\-bad\-sectors\fR
41Clear the list of bad sectors. This is useful after cloning an old disk
42with bad sectors to a new disk.
43.TP
44\fB\-d\fR, \fB\-\-clear\-dirty\fR
45Clear the volume dirty flag if the volume can be fixed and mounted.
46If the option is not present or the volume cannot be fixed, the dirty
47volume flag is set to request a volume checking at next mount.
48.TP
49\fB\-h\fR, \fB\-\-help\fR
50Show a list of options with a brief description of each one.
51.TP
52\fB\-n\fR, \fB\-\-no\-action\fR
53Do not write anything, just show what would have been done.
54.TP
55\fB\-V\fR, \fB\-\-version\fR
56Show the version number, copyright and license
57.SH BUGS
58There are no known problems with
59.BR ntfsfix .
60If you find a bug please send an email describing the problem to the
61development team:
62.br
63.nh
64ntfs\-3g\-devel@lists.sf.net
65.hy
66.SH AUTHORS
67.B ntfsfix
68was written by Anton Altaparmakov, with contributions from Szabolcs Szakacsits.
69It was ported to ntfs-3g by Erik Larsson and Jean-Pierre Andre.
70.SH AVAILABILITY
71.B ntfsfix
72is part of the
73.B ntfs-3g
74package and is available from:
75.br
76.nh
77http://www.tuxera.com/community/
78.hy
79.SH SEE ALSO
80.BR mkntfs (8),
81.BR ntfsprogs (8)
82