{
    "mode": "man",
    "parameter": "fsck.minix",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/fsck.minix/8/json",
    "generated": "2026-09-10T14:12:03Z",
    "synopsis": "fsck.minix [options] device",
    "sections": {
        "NAME": {
            "content": "fsck.minix - check consistency of Minix filesystem\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "fsck.minix [options] device\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "fsck.minix performs a consistency check for the Linux MINIX filesystem.\n\nThe program assumes the filesystem is quiescent. fsck.minix should not be used on a mounted\ndevice unless you can be sure nobody is writing to it. Remember that the kernel can write to\ndevice when it searches for files.\n\nThe device name will usually have the following form:\n┌────────────────┬─────────────┐\n│                │             │\n│ /dev/hda[1-63] │ IDE disk 1  │\n├────────────────┼─────────────┤\n│                │             │\n│ /dev/hdb[1-63] │ IDE disk 2  │\n├────────────────┼─────────────┤\n│                │             │\n│ /dev/sda[1-15] │ SCSI disk 1 │\n├────────────────┼─────────────┤\n│                │             │\n│ /dev/sdb[1-15] │ SCSI disk 2 │\n└────────────────┴─────────────┘\n\n\nIf the filesystem was changed, i.e., repaired, then fsck.minix will print \"FILE\nSYSTEM HAS BEEN CHANGED\" and will sync(2) three times before exiting. There is no\nneed to reboot after check.\n",
            "subsections": []
        },
        "WARNING": {
            "content": "fsck.minix should not be used on a mounted filesystem. Using fsck.minix on a mounted\nfilesystem is very dangerous, due to the possibility that deleted files are still in\nuse, and can seriously damage a perfectly good filesystem! If you absolutely have to\nrun fsck.minix on a mounted filesystem, such as the root filesystem, make sure\nnothing is writing to the disk, and that no files are \"zombies\" waiting for deletion.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-l --list",
                    "content": "List all filenames.\n",
                    "flag": "-l",
                    "long": "--list"
                },
                {
                    "name": "-r --repair",
                    "content": "Perform interactive repairs.\n",
                    "flag": "-r",
                    "long": "--repair"
                },
                {
                    "name": "-a --auto",
                    "content": "Perform automatic repairs. This option implies --repair and serves to answer all\nof the questions asked with the default. Note that this can be extremely\ndangerous in the case of extensive filesystem damage.\n",
                    "flag": "-a",
                    "long": "--auto"
                },
                {
                    "name": "-v --verbose",
                    "content": "Be verbose.\n",
                    "flag": "-v",
                    "long": "--verbose"
                },
                {
                    "name": "-s --super",
                    "content": "Output super-block information.\n",
                    "flag": "-s",
                    "long": "--super"
                },
                {
                    "name": "-m --uncleared",
                    "content": "Activate MINIX-like \"mode not cleared\" warnings.\n",
                    "flag": "-m",
                    "long": "--uncleared"
                },
                {
                    "name": "-f --force",
                    "content": "Force a filesystem check even if the filesystem was marked as valid. Marking is\ndone by the kernel when the filesystem is unmounted.\n",
                    "flag": "-f",
                    "long": "--force"
                },
                {
                    "name": "-h --help",
                    "content": "Display help text and exit.\n",
                    "flag": "-h",
                    "long": "--help"
                },
                {
                    "name": "-V --version",
                    "content": "Print version and exit.\n",
                    "flag": "-V",
                    "long": "--version"
                }
            ]
        },
        "DIAGNOSTICS": {
            "content": "There are numerous diagnostic messages. The ones mentioned here are the most commonly\nseen in normal usage.\n\nIf the device does not exist, fsck.minix will print \"unable to read super block\". If\nthe device exists, but is not a MINIX filesystem, fsck.minix will print \"bad magic\nnumber in super-block\".\n",
            "subsections": []
        },
        "EXIT STATUS": {
            "content": "The exit status returned by fsck.minix is the sum of the following:\n\n0\nNo errors\n\n3\nFilesystem errors corrected, system should be rebooted if filesystem was mounted\n\n4\nFilesystem errors left uncorrected\n\n7\nCombination of exit statuses 3 and 4\n\n8\nOperational error\n\n16\nUsage or syntax error\n",
            "subsections": []
        },
        "AUTHORS": {
            "content": "\u001b[34mLinus Torvalds \u001b[0m<torvalds@cs.helsinki.fi>. Exit status values by \u001b[34mRik Faith\u001b[0m\n<faith@cs.unc.edu> Added support for filesystem valid flag: \u001b[34mDr. Wettstein\u001b[0m\n<greg%wind.uucp@plains.nodak.edu>. Check to prevent fsck of mounted filesystem added\nby \u001b[34mDaniel Quinlan \u001b[0m<quinlan@yggdrasil.com>. Minix v2 fs support by \u001b[34mAndreas Schwab\u001b[0m\n<schwab@issan.informatik.uni-dortmund.de>, updated by \u001b[34mNicolai Langfeldt\u001b[0m\n<janl@math.uio.no>. Portability patch by \u001b[34mRussell King \u001b[0m<rmk@ecs.soton.ac.uk>.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "fsck(8), fsck.ext2(8), mkfs(8), mkfs.ext2(8), mkfs.minix(8), reboot(8)\n",
            "subsections": []
        },
        "REPORTING BUGS": {
            "content": "For bug reports, use the issue tracker at\n\u001b[34mhttps://github.com/util-linux/util-linux/issues\u001b[0m.\n",
            "subsections": []
        },
        "AVAILABILITY": {
            "content": "The fsck.minix command is part of the util-linux package which can be downloaded from\n\u001b[34mLinux Kernel Archive \u001b[0m<https://www.kernel.org/pub/linux/utils/util-linux/>.\n\nutil-linux 2.39.3                            2023-10-23                                FSCK.MINIX(8)",
            "subsections": []
        }
    },
    "summary": "fsck.minix - check consistency of Minix filesystem",
    "flags": [
        {
            "flag": "-l",
            "long": "--list",
            "arg": null,
            "description": "List all filenames."
        },
        {
            "flag": "-r",
            "long": "--repair",
            "arg": null,
            "description": "Perform interactive repairs."
        },
        {
            "flag": "-a",
            "long": "--auto",
            "arg": null,
            "description": "Perform automatic repairs. This option implies --repair and serves to answer all of the questions asked with the default. Note that this can be extremely dangerous in the case of extensive filesystem damage."
        },
        {
            "flag": "-v",
            "long": "--verbose",
            "arg": null,
            "description": "Be verbose."
        },
        {
            "flag": "-s",
            "long": "--super",
            "arg": null,
            "description": "Output super-block information."
        },
        {
            "flag": "-m",
            "long": "--uncleared",
            "arg": null,
            "description": "Activate MINIX-like \"mode not cleared\" warnings."
        },
        {
            "flag": "-f",
            "long": "--force",
            "arg": null,
            "description": "Force a filesystem check even if the filesystem was marked as valid. Marking is done by the kernel when the filesystem is unmounted."
        },
        {
            "flag": "-h",
            "long": "--help",
            "arg": null,
            "description": "Display help text and exit."
        },
        {
            "flag": "-V",
            "long": "--version",
            "arg": null,
            "description": "Print version and exit."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "fsck",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/fsck/8/json"
        },
        {
            "name": "fsck.ext2",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/fsck.ext2/8/json"
        },
        {
            "name": "mkfs",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/mkfs/8/json"
        },
        {
            "name": "mkfs.ext2",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/mkfs.ext2/8/json"
        },
        {
            "name": "mkfs.minix",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/mkfs.minix/8/json"
        },
        {
            "name": "reboot",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/reboot/8/json"
        }
    ]
}