📄 fsck.minix.8
字号:
.\" Copyright 1992, 1993, 1994 Rickard E. Faith (faith@cs.unc.edu).\" May be freely distributed..\" " for hilit19.TH FSCK 8 "2 July 1996" "Util-Linux 2.6" "Linux Programmer's Manual".SH NAMEfsck.minix \- a file system consistency checker for Linux.SH SYNOPSIS.B "fsck.minix [ \-larvsmf ]"device.SH DESCRIPTION.B fsck.minixperforms a consistency check for the Linux MINIX filesystem. The currentversion supports the 14 character and 30 character filename options.The programassumes the file system is quiescent..B fsck.minixshould not be used on a mounted device unless you can be sure nobody iswriting to it (and remember that the kernel can write to it when itsearches for files).The device will usually have the following form:.nf.RS/dev/hda[1-63] (IDE disk 1)/dev/hdb[1-63] (IDE disk 2)/dev/sda[1-15] (SCSI disk 1)/dev/sdb[1-15] (SCSI disk 2).RE.fiIf the file system was changed (i.e., repaired), then.B fsck.minixwill print "FILE SYSTEM HAS CHANGED" and will.BR sync (2)three times before exiting. Since Linux does not currently have rawdevices, there is.I noneed to reboot at this time..SH WARNING.B fsck.minixshould.B notbe used on a mounted filesystem. Using.B fsck.minixon a mounted filesystem is very dangerous, due to the possibility thatdeleted files are still in use, and can seriously damage a perfectly goodfilesystem! If you absolutely have to run.B fsck.minixon a mounted filesystem (i.e., the root filesystem), make sure nothing iswriting to the disk, and that no files are "zombies" waiting for deletion..SH OPTIONS.TP.B \-lLists all filenames.TP.B \-rPerforms interactive repairs.TP.B \-aPerforms automatic repairs (this option implies.BR \-r ),and serves to answer all of the questions asked with the default. Notethat this can be extremely dangerous in the case of extensive file systemdamage..TP.B \-vVerbose.TP.B \-sOutputs super-block information.TP.B \-mActivates MINIX-like "mode not cleared" warnings.TP.B \-fForce file system check even if the file system was marked as valid (thismarking is done by the kernel when the file system is unmounted)..SH "SEE ALSO".BR fsck (8),.BR fsck.ext (8),.BR fsck.ext2 (8),.BR fsck.xiafs (8),.BR mkfs (8),.BR mkfs.minix (8),.BR mkfs.ext (8),.BR mkfs.ext2 (8),.BR mkfs.xiafs (8)..BR reboot (8).SH DIAGNOSTICSThere are numerous diagnostic messages. The ones mentioned here are themost commonly seen in normal usage.If the device does not exist,.B fsck.minixwill print "unable to read super block". If the device exists, but is nota MINIX file system,.B fsck.minixwill print "bad magic number in super-block"..SH "EXIT CODES"The exit code returned by.B fsck.minixis the sum of the following:.IP 0No errors.IP 3File system errors corrected, system should be rebooted if file system wasmounted.IP 4File system errors left uncorrected.IP 8Operational error.IP 16Usage or syntax error.PPIn point of fact, only 0, 3, 4, 7, 8, and 16 can ever be returned..SH AUTHORLinus Torvalds (torvalds@cs.helsinki.fi).brError code values by Rik Faith (faith@cs.unc.edu).brAdded support for file system valid flag: Dr. Wettstein(greg%wind.uucp@plains.nodak.edu).brCheck to prevent fsck of mounted filesystem added by Daniel Quinlan(quinlan@yggdrasil.com).brMinix v2 fs support by Andreas Schwab(schwab@issan.informatik.uni-dortmund.de), updated by NicolaiLangfeldt (janl@math.uio.no).brPortability patch by Russell King (rmk@ecs.soton.ac.uk).
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -