{
    "content": [
        {
            "type": "text",
            "text": "# ntfsfix(8) (man)\n\n## TLDR\n\n> Fix common problems on an NTFS partition.\n\n- Fix a given NTFS partition:\n  `sudo ntfsfix {{/dev/sdXN}}`\n\n*Source: tldr-pages*\n\n---\n\n**Summary:** ntfsfix - fix common errors and force Windows to check NTFS\n\n**Synopsis:** ntfsfix [options] device\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| -b | --clear-bad-sectors | — | Clear the list of bad sectors. This is useful after cloning an old disk with bad sec‐ tors to a new disk. |\n| -d | --clear-dirty | — | Clear the volume dirty flag if the volume can be fixed and mounted. If the option is not present or the volume cannot be |\n| -h | --help | — | Show a list of options with a brief description of each one. |\n| -n | --no-action | — | Do not write anything, just show what would have been done. |\n| -V | --version | — | Show the version number, copyright and license |\n\n## See Also\n\n- mkntfs(8)\n- ntfsprogs(8)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (7 lines)\n- **OPTIONS** (6 lines) — 5 subsections\n  - -b --clear-bad-sectors (3 lines)\n  - -d --clear-dirty (4 lines)\n  - -h --help (2 lines)\n  - -n --no-action (2 lines)\n  - -V --version (2 lines)\n- **BUGS** (4 lines)\n- **AUTHORS** (3 lines)\n- **AVAILABILITY** (3 lines)\n- **SEE ALSO** (5 lines)\n\n## Full Content\n\n### NAME\n\nntfsfix - fix common errors and force Windows to check NTFS\n\n### SYNOPSIS\n\nntfsfix [options] device\n\n### DESCRIPTION\n\nntfsfix is a utility that fixes some common NTFS problems.  ntfsfix is NOT a Linux version of\nchkdsk.  It only repairs some fundamental NTFS inconsistencies, resets the NTFS journal  file\nand schedules an NTFS consistency check for the first boot into Windows.\n\nYou  may  run  ntfsfix on an NTFS volume if you think it was damaged by Windows or some other\nway and it cannot be mounted.\n\n### OPTIONS\n\nBelow is a summary of all the options that ntfsfix accepts.   Nearly  all  options  have  two\nequivalent  names.  The short name is preceded by - and the long name is preceded by --.  Any\nsingle letter options, that don't take an argument, can be combined into  a  single  command,\ne.g.  -fv is equivalent to -f -v.  Long named options can be abbreviated to any unique prefix\nof their name.\n\n#### -b --clear-bad-sectors\n\nClear the list of bad sectors. This is useful after cloning an old disk with bad  sec‐\ntors to a new disk.\n\n#### -d --clear-dirty\n\nClear  the volume dirty flag if the volume can be fixed and mounted.  If the option is\nnot present or the volume cannot be fixed, the dirty volume flag is set to  request  a\nvolume checking at next mount.\n\n#### -h --help\n\nShow a list of options with a brief description of each one.\n\n#### -n --no-action\n\nDo not write anything, just show what would have been done.\n\n#### -V --version\n\nShow the version number, copyright and license\n\n### BUGS\n\nThere  are no known problems with ntfsfix.  If you find a bug please send an email describing\nthe problem to the development team:\nntfs-3g-devel@lists.sf.net\n\n### AUTHORS\n\nntfsfix was written by Anton Altaparmakov, with contributions from Szabolcs  Szakacsits.   It\nwas ported to ntfs-3g by Erik Larsson and Jean-Pierre Andre.\n\n### AVAILABILITY\n\nntfsfix is part of the ntfs-3g package and is available from:\nhttps://github.com/tuxera/ntfs-3g/wiki/\n\n### SEE ALSO\n\nmkntfs(8), ntfsprogs(8)\n\n\n\nntfs-3g 2021.8.22                           January 2013                                  NTFSFIX(8)\n\n"
        }
    ],
    "structuredContent": {
        "command": "ntfsfix",
        "section": "8",
        "mode": "man",
        "summary": "ntfsfix - fix common errors and force Windows to check NTFS",
        "synopsis": "ntfsfix [options] device",
        "tldr_summary": "Fix common problems on an NTFS partition.",
        "tldr_examples": [
            {
                "description": "Fix a given NTFS partition",
                "command": "sudo ntfsfix {{/dev/sdXN}}"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "-b",
                "long": "--clear-bad-sectors",
                "arg": null,
                "description": "Clear the list of bad sectors. This is useful after cloning an old disk with bad sec‐ tors to a new disk."
            },
            {
                "flag": "-d",
                "long": "--clear-dirty",
                "arg": null,
                "description": "Clear the volume dirty flag if the volume can be fixed and mounted. If the option is not present or the volume cannot be fixed, the dirty volume flag is set to request a volume checking at next mount."
            },
            {
                "flag": "-h",
                "long": "--help",
                "arg": null,
                "description": "Show a list of options with a brief description of each one."
            },
            {
                "flag": "-n",
                "long": "--no-action",
                "arg": null,
                "description": "Do not write anything, just show what would have been done."
            },
            {
                "flag": "-V",
                "long": "--version",
                "arg": null,
                "description": "Show the version number, copyright and license"
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "mkntfs",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/mkntfs/8/json"
            },
            {
                "name": "ntfsprogs",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/ntfsprogs/8/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 6,
                "subsections": [
                    {
                        "name": "-b --clear-bad-sectors",
                        "lines": 3,
                        "flag": "-b",
                        "long": "--clear-bad-sectors"
                    },
                    {
                        "name": "-d --clear-dirty",
                        "lines": 4,
                        "flag": "-d",
                        "long": "--clear-dirty"
                    },
                    {
                        "name": "-h --help",
                        "lines": 2,
                        "flag": "-h",
                        "long": "--help"
                    },
                    {
                        "name": "-n --no-action",
                        "lines": 2,
                        "flag": "-n",
                        "long": "--no-action"
                    },
                    {
                        "name": "-V --version",
                        "lines": 2,
                        "flag": "-V",
                        "long": "--version"
                    }
                ]
            },
            {
                "name": "BUGS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "AUTHORS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "AVAILABILITY",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}