⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 4.t

📁 早期freebsd实现
💻 T
📖 第 1 页 / 共 3 页
字号:
.B "EXCESSIVE BAD BLKS"error condition in Phase 1 (see next paragraph) ifinode \fII\fP has too many block numbers outside the file system range.This error condition will always invoke the.B "BAD/DUP"error condition in Phase 2 and Phase 4..sp.LP.B "EXCESSIVE BAD BLKS I=\fII\fP (CONTINUE)".brThere is more than a tolerable number (usually 10) of blocks with a numberlower than the number of the first data block in the file system or greater thanthe number of last block in the file system associated with inode \fII\fP..LPPossible responses to the CONTINUE prompt are:.IP YESignore the rest of the blocks in this inodeand continue checking with the next inode in the file system.This error condition will not allow a complete check of the file system.A second run of.I fsckshould be made to re-check this file system..IP NOterminate the program..sp.LP.B "BAD STATE DDD TO BLKERR".brAn internal error has scrambled .I fsck 'sstate map to have the impossible value \fIDDD\fP..I Fsckexits immediately. See a guru..sp.LP.B "\fIB\fP DUP I=\fII\fP".brInode \fII\fP contains block number \fIB\fP that is already claimed byanother inode.This error condition may invoke the.B "EXCESSIVE DUP BLKS"error condition in Phase 1 ifinode \fII\fP has too many block numbers claimed by other inodes.This error condition will always invoke Phase 1b and the.B "BAD/DUP"error condition in Phase 2 and Phase 4..sp.LP.B "EXCESSIVE DUP BLKS I=\fII\fP (CONTINUE)".brThere is more than a tolerable number (usually 10) of blocks claimed by otherinodes..LPPossible responses to the CONTINUE prompt are:.IP YESignore the rest of the blocks in this inodeand continue checking with the next inode in the file system.This error condition will not allow a complete check of the file system.A second run of.I fsckshould be made to re-check this file system..IP NOterminate the program..sp.LP.B "DUP TABLE OVERFLOW (CONTINUE)".brAn internal table in.I fsckcontaining duplicate block numbers cannot allocate any more space.Increase the amount of virtual memory available to.I fsck ..LPPossible responses to the CONTINUE prompt are:.IP YEScontinue with the program.This error condition will not allow a complete check of the file system.A second run of.I fsckshould be made to re-check this file system.If another duplicate block is found, this error condition will repeat..IP NOterminate the program..sp.LP.B "PARTIALLY ALLOCATED INODE I=\fII\fP (CLEAR)".brInode \fII\fP is neither allocated nor unallocated..LPPossible responses to the CLEAR prompt are:.IP YESde-allocate inode \fII\fP by zeroing its contents..IP NOignore this error condition..sp.LP.B "INCORRECT BLOCK COUNT I=\fII\fP (\fIX\fP should be \fIY\fP) (CORRECT)".brThe block count for inode \fII\fP is \fIX\fP blocks,but should be \fIY\fP blocks.When preen'ing the count is corrected..LPPossible responses to the CORRECT prompt are:.IP YESreplace the block count of inode \fII\fP with \fIY\fP..IP NOignore this error condition..NH 2 Phase 1B: Rescan for More Dups.PPWhen a duplicate block is found in the file system, the file system isrescanned to find the inode that previously claimed that block.This section lists the error condition when the duplicate block is found..sp.LP.B "\fIB\fP DUP I=\fII\fP".brInode \fII\fP contains block number \fIB\fP thatis already claimed by another inode.This error condition will always invoke the.B "BAD/DUP"error condition in Phase 2.You can determine which inodes have overlapping blocks by examiningthis error condition and the DUP error condition in Phase 1..NH 2 Phase 2 \- Check Pathnames.PPThis phase concerns itself with removing directory entriespointing toerror conditioned inodesfrom Phase 1 and Phase 1b.This section lists error conditions resulting fromroot inode mode and status,directory inode pointers in range,and directory entries pointing to bad inodes,and directory integrity checks.All errors in this phase are fatal if the file system is being preen'ed,except for directories not being a multiple of the blocks sizeand extraneous hard links..sp.LP.B "ROOT INODE UNALLOCATED (ALLOCATE)".brThe root inode (usually inode number 2) has no allocate mode bits.This should never happen..LPPossible responses to the ALLOCATE prompt are:.IP YESallocate inode 2 as the root inode.The files and directories usually found in the root will be recoveredin Phase 3 and put into.I lost+found .If the attempt to allocate the root fails,.I fsckwill exit with the message:.br.B "CANNOT ALLOCATE ROOT INODE" ..IP NO.I fsckwill exit..sp.LP.B "ROOT INODE NOT DIRECTORY (REALLOCATE)".brThe root inode (usually inode number 2)is not directory inode type..LPPossible responses to the REALLOCATE prompt are:.IP YESclear the existing contents of the root inodeand reallocate it.The files and directories usually found in the root will be recoveredin Phase 3 and put into.I lost+found .If the attempt to allocate the root fails,.I fsckwill exit with the message:.br.B "CANNOT ALLOCATE ROOT INODE" ..IP NO.I fsckwill then prompt with.B "FIX".LPPossible responses to the FIX prompt are:.IP YESreplace the root inode's type to be a directory.If the root inode's data blocks are not directory blocks,many error conditions will be produced..IP NOterminate the program..sp.LP.B "DUPS/BAD IN ROOT INODE (REALLOCATE)".brPhase 1 or Phase 1b have found duplicate blocksor bad blocks in the root inode (usually inode number 2) for the file system..LPPossible responses to the REALLOCATE prompt are:.IP YESclear the existing contents of the root inodeand reallocate it.The files and directories usually found in the root will be recoveredin Phase 3 and put into.I lost+found .If the attempt to allocate the root fails,.I fsckwill exit with the message:.br.B "CANNOT ALLOCATE ROOT INODE" ..IP NO.I fsckwill then prompt with.B "CONTINUE" ..LPPossible responses to the CONTINUE prompt are:.IP YESignore the.B "DUPS/BAD"error condition in the root inode andattempt to continue to run the file system check.If the root inode is not correct,then this may result in many other error conditions..IP NOterminate the program..sp.LP.B "NAME TOO LONG \fIF\fP".brAn excessively long path name has been found.This usually indicates loops in the file system name space.This can occur if the super user has made circular links to directories.The offending links must be removed (by a guru)..sp.LP.B "I OUT OF RANGE I=\fII\fP NAME=\fIF\fP (REMOVE)".brA directory entry \fIF\fP has an inode number \fII\fP that is greater thanthe end of the inode list..LPPossible responses to the REMOVE prompt are:.IP YESthe directory entry \fIF\fP is removed..IP NOignore this error condition..sp.LP.B "UNALLOCATED I=\fII\fP OWNER=\fIO\fP MODE=\fIM\fP SIZE=\fIS\fP MTIME=\fIT\fP \fItype\fP=\fIF\fP (REMOVE)".brA directory or file entry \fIF\fP points to an unallocated inode \fII\fP.The owner \fIO\fP, mode \fIM\fP, size \fIS\fP, modify time \fIT\fP,and name \fIF\fP are printed..LPPossible responses to the REMOVE prompt are:.IP YESthe directory entry \fIF\fP is removed..IP NOignore this error condition..sp.LP.B "DUP/BAD I=\fII\fP OWNER=\fIO\fP MODE=\fIM\fP SIZE=\fIS\fP MTIME=\fIT\fP \fItype\fP=\fIF\fP (REMOVE)".brPhase 1 or Phase 1b have found duplicate blocks or bad blocksassociated with directory or file entry \fIF\fP, inode \fII\fP.The owner \fIO\fP, mode \fIM\fP, size \fIS\fP, modify time \fIT\fP,and directory name \fIF\fP are printed..LPPossible responses to the REMOVE prompt are:.IP YESthe directory entry \fIF\fP is removed..IP NOignore this error condition..sp.LP.B "ZERO LENGTH DIRECTORY I=\fII\fP OWNER=\fIO\fP MODE=\fIM\fP SIZE=\fIS\fP MTIME=\fIT\fP DIR=\fIF\fP (REMOVE)".brA directory entry \fIF\fP has a size \fIS\fP that is zero.The owner \fIO\fP, mode \fIM\fP, size \fIS\fP, modify time \fIT\fP,and directory name \fIF\fP are printed..LPPossible responses to the REMOVE prompt are:.IP YESthe directory entry \fIF\fP is removed;this will always invoke the BAD/DUP error condition in Phase 4..IP NOignore this error condition..sp.LP.B "DIRECTORY TOO SHORT I=\fII\fP OWNER=\fIO\fP MODE=\fIM\fP SIZE=\fIS\fP MTIME=\fIT\fP DIR=\fIF\fP (FIX)".brA directory \fIF\fP has been found whose size \fIS\fPis less than the minimum size directory.The owner \fIO\fP, mode \fIM\fP, size \fIS\fP, modify time \fIT\fP,and directory name \fIF\fP are printed..LPPossible responses to the FIX prompt are:.IP YESincrease the size of the directory to the minimum directory size..IP NOignore this directory..sp.LP.B "DIRECTORY \fIF\fP LENGTH \fIS\fP NOT MULTIPLE OF \fIB\fP (ADJUST).brA directory \fIF\fP has been found with size \fIS\fP that is nota multiple of the directory blocksize \fIB\fP..LPPossible responses to the ADJUST prompt are:.IP YESthe length is rounded up to the appropriate block size.This error can occur on 4.2BSD file systems.Thus when preen'ing the file system only a warning is printedand the directory is adjusted..IP NOignore the error condition..sp.LP.B "DIRECTORY CORRUPTED I=\fII\fP OWNER=\fIO\fP MODE=\fIM\fP SIZE=\fIS\fP MTIME=\fIT\fP DIR=\fIF\fP (SALVAGE)".brA directory with an inconsistent internal state has been found..LPPossible responses to the FIX prompt are:.IP YESthrow away all entries up to the next directory boundary (usually 512-byte)boundary.This drastic action can throw away up to 42 entries,and should be taken only after other recovery efforts have failed..IP NOskip up to the next directory boundary and resume reading,but do not modify the directory..sp.LP.B "BAD INODE NUMBER FOR `.' I=\fII\fP OWNER=\fIO\fP MODE=\fIM\fP SIZE=\fIS\fP MTIME=\fIT\fP DIR=\fIF\fP (FIX)".brA directory \fII\fP has been found whose inode number for `.' doesdoes not equal \fII\fP..LPPossible responses to the FIX prompt are:.IP YESchange the inode number for `.' to be equal to \fII\fP..IP NOleave the inode number for `.' unchanged..sp.LP.B "MISSING `.' I=\fII\fP OWNER=\fIO\fP MODE=\fIM\fP SIZE=\fIS\fP MTIME=\fIT\fP DIR=\fIF\fP (FIX)".brA directory \fII\fP has been found whose first entry is unallocated..LPPossible responses to the FIX prompt are:.IP YESbuild an entry for `.' with inode number equal to \fII\fP..IP NOleave the directory unchanged..sp.LP.B "MISSING `.' I=\fII\fP OWNER=\fIO\fP MODE=\fIM\fP SIZE=\fIS\fP MTIME=\fIT\fP DIR=\fIF\fP".br.B "CANNOT FIX, FIRST ENTRY IN DIRECTORY CONTAINS \fIF\fP".brA directory \fII\fP has been found whose first entry is \fIF\fP..I Fsckcannot resolve this problem. The file system should be mounted and the offending entry \fIF\fPmoved elsewhere.The file system should then be unmounted and.I fsckshould be run again..sp.LP.B "MISSING `.' I=\fII\fP OWNER=\fIO\fP MODE=\fIM\fP SIZE=\fIS\fP MTIME=\fIT\fP DIR=\fIF\fP".br.B "CANNOT FIX, INSUFFICIENT SPACE TO ADD `.'".brA directory \fII\fP has been found whose first entry is not `.'..I Fsckcannot resolve this problem as it should never happen.See a guru..sp.LP.B "EXTRA `.' ENTRY I=\fII\fP OWNER=\fIO\fP MODE=\fIM\fP SIZE=\fIS\fP MTIME=\fIT\fP DIR=\fIF\fP (FIX)".brA directory \fII\fP has been found that has more than one entry for `.'..LPPossible responses to the FIX prompt are:.IP YESremove the extra entry for `.'..IP NOleave the directory unchanged..sp.LP.B "BAD INODE NUMBER FOR `..' I=\fII\fP OWNER=\fIO\fP MODE=\fIM\fP SIZE=\fIS\fP MTIME=\fIT\fP DIR=\fIF\fP (FIX)".brA directory \fII\fP has been found whose inode number for `..' doesdoes not equal the parent of \fII\fP..LPPossible responses to the FIX prompt are:.IP YESchange the inode number for `..' to be equal to the parent of \fII\fP(``\fB..\fP'' in the root inode points to itself)..IP NOleave the inode number for `..' unchanged..sp.LP.B "MISSING `..' I=\fII\fP OWNER=\fIO\fP MODE=\fIM\fP SIZE=\fIS\fP MTIME=\fIT\fP DIR=\fIF\fP (FIX)".brA directory \fII\fP has been found whose second entry is unallocated..LPPossible responses to the FIX prompt are:.IP YESbuild an entry for `..' with inode number equal to the parent of \fII\fP(``\fB..\fP'' in the root inode points to itself)..IP NOleave the directory unchanged..sp.LP.B "MISSING `..' I=\fII\fP OWNER=\fIO\fP MODE=\fIM\fP SIZE=\fIS\fP MTIME=\fIT\fP DIR=\fIF\fP".br.B "CANNOT FIX, SECOND ENTRY IN DIRECTORY CONTAINS \fIF\fP".brA directory \fII\fP has been found whose second entry is \fIF\fP..I Fsckcannot resolve this problem. The file system should be mounted and the offending entry \fIF\fPmoved elsewhere.The file system should then be unmounted and.I fsckshould be run again..sp.LP.B "MISSING `..' I=\fII\fP OWNER=\fIO\fP MODE=\fIM\fP SIZE=\fIS\fP MTIME=\fIT\fP DIR=\fIF\fP".br.B "CANNOT FIX, INSUFFICIENT SPACE TO ADD `..'".brA directory \fII\fP has been found whose second entry is not `..'..I Fsckcannot resolve this problem.The file system should be mounted and the second entry in the directorymoved elsewhere.The file system should then be unmounted and.I fsckshould be run again..sp.LP.B "EXTRA `..' ENTRY I=\fII\fP OWNER=\fIO\fP MODE=\fIM\fP SIZE=\fIS\fP MTIME=\fIT\fP DIR=\fIF\fP (FIX)".brA directory \fII\fP has been found that has more than one entry for `..'..LPPossible responses to the FIX prompt are:.IP YESremove the extra entry for `..'..IP NOleave the directory unchanged..sp.LP.B "\fIN\fP IS AN EXTRANEOUS HARD LINK TO A DIRECTORY \fID\fP (REMOVE).br.I Fsckhas found a hard link, \fIN\fP, to a directory, \fID\fP.When preen'ing the extraneous links are ignored..LPPossible responses to the REMOVE prompt are:.IP YESdelete the extraneous entry, \fIN\fP..IP NOignore the error condition..sp.LP.B "BAD INODE \fIS\fP TO DESCEND".brAn internal error has caused an impossible state \fIS\fP to be passed to theroutine that descends the file system directory structure..I Fsckexits.See a guru.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -