{"id":2824,"date":"2022-12-20T15:17:24","date_gmt":"2022-12-20T18:17:24","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/fsck-minix-man8\/"},"modified":"2022-12-20T15:17:24","modified_gmt":"2022-12-20T18:17:24","slug":"fsck-minix-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/fsck-minix-man8\/","title":{"rendered":"FSCK.MINIX (man8)"},"content":{"rendered":"<h1 align=\"center\">FSCK.MINIX<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#WARNING\">WARNING<\/a><br \/> <a href=\"#OPTIONS\">OPTIONS<\/a><br \/> <a href=\"#DIAGNOSTICS\">DIAGNOSTICS<\/a><br \/> <a href=\"#EXIT STATUS\">EXIT STATUS<\/a><br \/> <a href=\"#AUTHORS\">AUTHORS<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#AVAILABILITY\">AVAILABILITY<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">fsck.minix \u2212 check consistency of Minix filesystem<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>fsck.minix<\/b> [options] <i>device<\/i><\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><i><b>fsck.minix<\/b><\/i> performs a consistency check for the Linux MINIX filesystem.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The program assumes the filesystem is quiescent. <b>fsck.minix<\/b> should not be used on a mounted device unless you can be sure nobody is writing to it. Remember that the kernel can write to device when it searches for files.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The <i>device<\/i> name will usually have the following form:<\/p>\n<p align=\"center\" style=\"margin-top: 1em\"><img decoding=\"async\" src=\"grohtml-1181981.png\" alt=\"Image grohtml-1181981.png\"><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">If the filesystem was changed, i.e., repaired, then <b>fsck.minix<\/b> will print &#8220;FILE SYSTEM HAS CHANGED&#8221; and will <b>sync<\/b>(2) three times before exiting. There is <i>no<\/i> need to reboot after check.<\/p>\n<h2>WARNING <a name=\"WARNING\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>fsck.minix<\/b> should <b>not<\/b> be used on a mounted filesystem. Using <b>fsck.minix<\/b> on a mounted filesystem is very dangerous, due to the possibility that deleted files are still in use, and can seriously damage a perfectly good filesystem! If you absolutely have to run <b>fsck.minix<\/b> on a mounted filesystem, such as the root filesystem, make sure nothing is writing to the disk, and that no files are &#8220;zombies&#8221; waiting for deletion.<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212l<\/b>, <b>\u2212\u2212list<\/b><\/p>\n<p style=\"margin-left:22%;\">List all filenames.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212r<\/b>, <b>\u2212\u2212repair<\/b><\/p>\n<p style=\"margin-left:22%;\">Perform interactive repairs.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212a<\/b>, <b>\u2212\u2212auto<\/b><\/p>\n<p style=\"margin-left:22%;\">Perform automatic repairs. This option implies <b>\u2212\u2212repair<\/b> 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.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212v<\/b>, <b>\u2212\u2212verbose<\/b><\/p>\n<p style=\"margin-left:22%;\">Be verbose.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212s<\/b>, <b>\u2212\u2212super<\/b><\/p>\n<p style=\"margin-left:22%;\">Output super-block information.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212m<\/b>, <b>\u2212\u2212uncleared<\/b><\/p>\n<p style=\"margin-left:22%;\">Activate MINIX-like &#8220;mode not cleared&#8221; warnings.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212f<\/b>, <b>\u2212\u2212force<\/b><\/p>\n<p style=\"margin-left:22%;\">Force a filesystem check even if the filesystem was marked as valid. Marking is done by the kernel when the filesystem is unmounted.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212V<\/b>, <b>\u2212\u2212version<\/b><\/p>\n<p style=\"margin-left:22%;\">Display version information and exit.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212h<\/b>, <b>\u2212\u2212help<\/b><\/p>\n<p style=\"margin-left:22%;\">Display help text and exit.<\/p>\n<h2>DIAGNOSTICS <a name=\"DIAGNOSTICS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">There are numerous diagnostic messages. The ones mentioned here are the most commonly seen in normal usage.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">If the device does not exist, <b>fsck.minix<\/b> will print &#8220;unable to read super block&#8221;. If the device exists, but is not a MINIX filesystem, <b>fsck.minix<\/b> will print &#8220;bad magic number in super-block&#8221;.<\/p>\n<h2>EXIT STATUS <a name=\"EXIT STATUS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The exit status returned by <b>fsck.minix<\/b> is the sum of the following:<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"3%\">\n<p><b>0<\/b><\/p>\n<\/td>\n<td width=\"7%\"><\/td>\n<td width=\"68%\">\n<p>No errors<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"3%\">\n<p><b>3<\/b><\/p>\n<\/td>\n<td width=\"7%\"><\/td>\n<td width=\"68%\">\n<p>Filesystem errors corrected, system should be rebooted if filesystem was mounted<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"3%\">\n<p><b>4<\/b><\/p>\n<\/td>\n<td width=\"7%\"><\/td>\n<td width=\"68%\">\n<p>Filesystem errors left uncorrected<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"3%\">\n<p><b>7<\/b><\/p>\n<\/td>\n<td width=\"7%\"><\/td>\n<td width=\"68%\">\n<p>Combination of exit statuses 3 and 4<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"3%\">\n<p><b>8<\/b><\/p>\n<\/td>\n<td width=\"7%\"><\/td>\n<td width=\"68%\">\n<p>Operational error<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"3%\">\n<p><b>16<\/b><\/p>\n<\/td>\n<td width=\"7%\"><\/td>\n<td width=\"68%\">\n<p>Usage or syntax error<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<h2>AUTHORS <a name=\"AUTHORS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><a href=\"mailto:torvalds@cs.helsinki.fi\">Linus Torvalds<\/a> <br \/> Exit status values by <a href=\"mailto:faith@cs.unc.edu\">Rik Faith<\/a> <br \/> Added support for filesystem valid flag: <a href=\"mailto:greg%wind.uucp@plains.nodak.edu\">Dr. Wettstein<\/a>. <br \/> Check to prevent fsck of mounted filesystem added by <a href=\"mailto:quinlan@yggdrasil.com\">Daniel Quinlan<\/a>. <br \/> Minix v2 fs support by <a href=\"mailto:schwab@issan.informatik.uni-dortmund.de\">Andreas Schwab<\/a>, updated by <a href=\"mailto:janl@math.uio.no\">Nicolai Langfeldt<\/a>. <br \/> Portability patch by <a href=\"mailto:rmk@ecs.soton.ac.uk\">Russell King<\/a>.<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>fsck<\/b>(8), <b>fsck.ext2<\/b>(8), <b>mkfs<\/b>(8), <b>mkfs.ext2<\/b>(8), <b>mkfs.minix<\/b>(8), <b>reboot<\/b>(8)<\/p>\n<h2>AVAILABILITY <a name=\"AVAILABILITY\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The fsck.minix command is part of the util-linux package and is available from <a href=\"https:\/\/www.kernel.org\/pub\/linux\/utils\/util-linux\/\">Linux Kernel Archive<\/a>.<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  fsck.minix \u2212 check consistency of Minix filesystem <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,31,4],"class_list":["post-2824","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-fsck","tag-man8"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/2824","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=2824"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/2824\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=2824"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=2824"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=2824"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}