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

📄 fsckmsgdef.c

📁 在Linux内核从2.4升级到2.6时需要升级的软件包
💻 C
📖 第 1 页 / 共 4 页
字号:
#include <config.h>#include "fsck_message.h"struct fsck_message msg_defs[fsck_highest_msgid_defined+1] = {  /*   0 */ { fsck_MSGOK, "Operation was successful.", fsck_debug},  /*   1 */ { fsck_ALLFXD, "All observed inconsistencies have been repaired.", fsck_debug},  /*   2 */ { fsck_RIBADDATFMT, "Invalid data format detected in root directory.", fsck_quiet},  /*   3 */ { fsck_BADBLKCTTTL, "A combination of Minimum Free Blocks and Total Usable Blocks which is invalid for the filesystem size was detected in the superblock (%s).", fsck_debug},  /*   4 */ { fsck_BADBLKNO, "Invalid block number(s) (%s) detected for file system object %s%s%u.", fsck_debug},  /*   5 */ { fsck_BADBSBLCHN, "File system object %s%s%u has a corrupt backward sibling chain.", fsck_debug},  /*   6 */ { fsck_BADFSBLCHN, "File system object %s%s%u has a corrupt forward sibling chain.", fsck_debug},  /*   7 */ { fsck_BADINOTYP, "Inode %s%u has unrecognized type.", fsck_debug},  /*   8 */ { fsck_BADINODXDFLDD, "File system object %s%s%u has invalid descriptor (%s).", fsck_debug},  /*   9 */ { fsck_BADINOLKCT, "Inode %s%u has incorrect link count.", fsck_debug},  /*  10 */ { fsck_BADINOREF, "Directory inode %s%u refers to a nonexistent inode %s%s (entry %u).", fsck_debug},  /*  11 */ { fsck_ERRONLOG, "Error (%d,%d) writing to the fsck service log (%d,%lld,%ld,%ld).  Continuing.", fsck_debug},  /*  12 */ { fsck_BOOTSECFXD, "The boot sector has been refreshed.", fsck_debug},  /*  13 */ { fsck_BADKEYS, "File system object %s%s%u has corrupt data (%d).", fsck_debug},  /*  14 */ { fsck_BADSBOTHR, "Invalid data (%s) detected in the superblock (%s).", fsck_debug},  /*  15 */ { fsck_BADSBAGSIZ, "Invalid allocation group size in the superblock (%s).", fsck_debug},  /*  16 */ { fsck_BADSBBLSIZ, "Invalid filesystem block size in the superblock (%s).", fsck_debug},  /*  17 */ { fsck_BADSBFSSIZ, "Invalid filesystem size in the superblock (%s).", fsck_debug},  /*  18 */ { fsck_BDSBBTHCRRPT, "Superblock is corrupt and cannot be repaired \nsince both primary and secondary copies are corrupt.  \n\n CANNOT CONTINUE.", fsck_quiet},  /*  19 */ { fsck_BDSBNWRTACC, "Primary superblock is corrupt and cannot be repaired without write access. Continuing.", fsck_quiet},  /*  20 */ { fsck_XCHKLOGBADPARM, "XCHKLOG Unsupported XCHKLOG parameter:   %s", fsck_debug},  /*  21 */ { fsck_BADSBMGC, "Invalid magic number in the superblock (%s).", fsck_debug},  /*  22 */ { fsck_BADSBVRSN, "Invalid version number in the superblock (%s).", fsck_debug},  /*  23 */ { fsck_BMAPCBMXB, "Incorrect maxbud AG detected in Block Map Control Page.", fsck_debug},  /*  24 */ { fsck_BMAPCNF, "Incorrect number of free blocks detected in Block Map Control Page.", fsck_debug},  /*  25 */ { fsck_BLSIZLTLVBLSIZ, "In superblock (%s) filesystem block size smaller than volume block size.", fsck_debug},  /*  26 */ { fsck_RIBADFMT, "Invalid format detected in Root directory.", fsck_quiet},  /*  27 */ { fsck_DEFAULTVOL, "Device parm defaulting to current volume: %s", fsck_debug},  /*  28 */ { fsck_CNTWRTBSMBR, "Unable to write to boot sector Master Boot Record.  Continuing.", fsck_debug},  /*  29 */ { fsck_INCONSIST2NDRY, "Secondary file/directory allocation structure (%s) is not a correct redundant copy of primary structure.", fsck_quiet},  /*  30 */ { fsck_INCONSIST2NDRY1, "Unable to replicate primary file/directory allocation structure (%s) to secondary.  FUTURE RECOVERY CAPABILITY IS COMPROMISED.", fsck_quiet},  /*  31 */ { fsck_CHKLOGNEW, "XCHKLOG  fsck service log selected:  MOST RECENT", fsck_debug},  /*  32 */ { fsck_LSFNCNTCRE, "MINOR: Cannot create directory lost+found in root directory.  mkdir lost+found in the root directory then run fsck with the -f parameter to reconnect lost files and/or directories.", fsck_quiet},  /*  33 */ { fsck_INOCANTNAME, "Fileset object %s%s%u:  No paths found.", fsck_quiet},  /*  34 */ { fsck_INOBADREF, "The path(s) refer to an unallocated file.", fsck_quiet},  /*  35 */ { fsck_CHKLOGOLD, "XCHKLOG  fsck service log selected:  PREVIOUS", fsck_debug},  /*  36 */ { fsck_WILLRMVBADREF, "The path(s) refer to an unallocated file. Will remove.", fsck_quiet},  /*  37 */ { fsck_CANTREPAIRAIS, "Unable to repair primary inode allocation structure (%s). Continuing.", fsck_debug},  /*  38 */ { fsck_RIBADTREE, "Root directory has a corrupt tree.", fsck_debug},  /*  39 */ { fsck_RICRETREE, "Initialized tree created for root directory.", fsck_debug},  /*  40 */ { fsck_CNTRESUPP, "Unable to read primary superblock.", fsck_debug},  /*  41 */ { fsck_CHKLOGINVALRCD, "fsck service log: INVALID LOG RECORD: SKIPPING ONE OR MORE LOG RECORDS.", fsck_debug},  /*  42 */ { fsck_SESSSTART, "processing started: %s", fsck_debug},  /*  43 */ { fsck_SEPARATOR, "\n**********************************************************", fsck_debug},  /*  44 */ { fsck_CNTWRTSUPP, "Unable to write primary superblock.", fsck_quiet},  /*  45 */ { fsck_ERRONAGG, "Fatal error (%d,%d) accessing the filesystem (%d,%lld,%d,%d).", fsck_debug},  /*  46 */ { fsck_DIRWHDLKS, "Multiple parent directories for directory %s%u.", fsck_quiet},  /*  47 */ { fsck_LOGSPECINVALID, "External journal log not supported.", fsck_debug},  /*  48 */ { fsck_DUPBLKREF, "Duplicate reference to %d block(s) beginning at offset %lld found in file system object %s%s%u.", fsck_debug},  /*  49 */ { fsck_BADMETAINOF, "File set metadata inode %s%u is corrupt.", fsck_debug},  /*  50 */ { fsck_ERRONWSP, "Fatal error (%d,%d) accessing the workspace (%d,%lld,%d,%d).", fsck_debug},  /*  51 */ { fsck_EXHDYNSTG, "Insufficient dynamic storage available for required workspace (%d,%d).  CANNOT CONTINUE", fsck_quiet},  /*  52 */ { fsck_DEVGETCHARRC, "IOCtl(...DSK_GETDEVICEPARAMS...) returned rc = %s", fsck_debug},  /*  53 */ { fsck_FSMNTD, "Filesystem is currently mounted.", fsck_quiet},  /*  54 */ { fsck_BADINOOTHR, "Invalid data (%s) detected in file system object %s%s%u.", fsck_debug},  /*  55 */ { fsck_FSSMMRY1, "Block size in bytes:  %d", fsck_quiet},  /*  56 */ { fsck_FSSMMRY2, "Filesystem size in blocks:  %lld", fsck_quiet},  /*  57 */ { fsck_FSSMMRY3, "Filesystem Summary:", fsck_debug},  /*  58 */ { fsck_FSSMMRY4, "Blocks in use for inodes:  %lld", fsck_debug},  /*  59 */ { fsck_FSSMMRY5, "Inode count:  %lld", fsck_debug},  /*  60 */ { fsck_FSSMMRY6, "File count:  %lld", fsck_debug},  /*  61 */ { fsck_FSSMMRY9, "Directory count:  %lld", fsck_debug},  /*  62 */ { fsck_DUPBLKREFS, "Inode %s%u has references to cross linked blocks.", fsck_debug},  /*  63 */ { fsck_FSSMMRY7, "Block count:  %lld", fsck_debug},  /*  64 */ { fsck_FSSMMRY8, "Free block count:  %lld", fsck_debug},  /*  65 */ { fsck_ILLINOREF, "Directory inode %s%u entry %s refers to an illegal inode %s%u.", fsck_debug},  /*  66 */ { fsck_XCHKLOGUSAGE, "Usage: xchklog [-f filename] [-p] [-V] <device>", fsck_debug},  /*  67 */ { fsck_INOCNTGETPATH, "Unable to get path for link from directory %s%u to fileset object %s%s%u.", fsck_quiet},  /*  68 */ { fsck_INOEA, "Format error in Extended Attributes Space or descriptor.", fsck_quiet},  /*  69 */ { fsck_BADAGFELIST, "Discrepancies detected in the Free Inode Extent List for Allocation Group %s%d. (%s)", fsck_debug},  /*  70 */ { fsck_MNCNTRCNCTINOF, "MINOR: Unable to reconnect file inode %c%u.  Continuing.", fsck_debug},  /*  71 */ { fsck_INCINOREF, "Directory %s%u entry \"..\" refers to an incorrect parent directory (%s%u).", fsck_quiet},  /*  72 */ { fsck_INCINOREFCRCT, "Directory inode %s%u entry \"..\" reference to incorrect inode corrected.", fsck_debug},  /*  73 */ { fsck_INOCLRD, "Storage allocated to inode %s%u has been cleared.", fsck_debug},  /*  74 */ { fsck_INOEACLRD, "Storage allocated to extended attributes for inode %s%u has been cleared.", fsck_debug},  /*  75 */ { fsck_INOINLSFNF, "File inode %c%u has been reconnected to /lost+found/.", fsck_debug},  /*  76 */ { fsck_INOLKCTFXD, "Link count for inode %s%u has been adjusted/corrected.", fsck_debug},  /*  77 */ { fsck_DEVLOCKRC, "IOCtl(...DSK_LOCKDRIVE...) returned rc = %s", fsck_debug},  /*  78 */ { fsck_INONOPATHS, "No paths were found for inode %s%u.", fsck_debug},  /*  79 */ { fsck_INOPATHOK, "File system object %s%s%u is linked as: %s", fsck_quiet},  /*  80 */ { fsck_INOREFRMV, "Directory inode %s%u entry reference to inode %s%u removed.", fsck_debug},  /*  81 */ { fsck_BADSBFWSL, "Invalid fwsp length detected in the superblock (%s).", fsck_debug},  /*  82 */ { fsck_BADSBFWSA, "Invalid fwsp address detected in the superblock (%s).", fsck_debug},  /*  83 */ { fsck_DEVOPENRDRC, "Open(...READONLY...) returned rc = %d", fsck_debug},  /*  84 */ { fsck_CANTCHKEA, "MINOR: Insufficient dynamic storage to validate extended attributes format.", fsck_quiet},  /*  85 */ { fsck_LOGREDOFAIL, "logredo failed (rc=%d).  fsck continuing.", fsck_quiet},  /*  86 */ { fsck_LOGREDORC, "logredo returned rc = %d", fsck_debug},  /*  87 */ { fsck_LSFNNOTDIR, "Unable to create a lost+found directory in root  because root already contains a non-directory object named lost+found.  Rename the existing lost+found object in root, mkdir lost+found in the root directory, then run fsck with the -f parameter to reconnect lost files and/or directories.", fsck_quiet},  /*  88 */ { fsck_MNTFSYS2, "WARNING: Checking a mounted filesystem does not produce dependable results.", fsck_quiet},  /*  89 */ { fsck_MODIFIED, "**** Filesystem was modified. ****", fsck_debug},  /*  90 */ { fsck_DEVREDETERMRC, "ujfs_redeterminemedia() returned rc = %s", fsck_debug},  /*  91 */ { fsck_MRKSBDONE, "Superblock marked.", fsck_debug},  /*  92 */ { fsck_MSSNGBLKS, "%lld blocks are missing.", fsck_quiet},  /*  93 */ { fsck_CNTWRTBS, "Unable to write to boot sector.  Continuing.", fsck_quiet},  /*  94 */ { fsck_LSFNNOTFOUND, "No \\lost+found directory found in the filesystem.", fsck_debug},  /*  95 */ { fsck_BADLINKCTS, "Incorrect link counts detected in the aggregate.", fsck_quiet},  /*  96 */ { fsck_BADIAMAGNBI, "The Inode Allocation Map control information has an incorrect number of backed inodes value for AG %s%d.", fsck_debug},  /*  97 */ { fsck_BADIAMAGNFI, "The Inode Allocation Map control information has an incorrect number of free inodes value for AG %s%d.", fsck_debug},  /*  98 */ { fsck_URCVREAD, "Unrecoverable error reading %s from %s.  CANNOT CONTINUE.", fsck_quiet},  /*  99 */ { fsck_PHASE0, "**Phase 0 - Replay Journal Log", fsck_quiet},  /* 100 */ { fsck_PHASE1, "**Phase 1 - Check Blocks, Files/Directories, and  Directory Entries", fsck_quiet},  /* 101 */ { fsck_PHASE2, "**Phase 2 - Count links", fsck_quiet},  /* 102 */ { fsck_PHASE3, "**Phase 3 - Duplicate Block Rescan and Directory Connectedness", fsck_quiet},  /* 103 */ { fsck_PHASE4, "**Phase 4 - Report Problems", fsck_quiet},  /* 104 */ { fsck_PHASE5, "**Phase 5 - Check Connectivity", fsck_quiet},  /* 105 */ { fsck_PHASE6, "**Phase 6 - Perform Approved Corrections", fsck_quiet},  /* 106 */ { fsck_PHASE7R, "**Phase 7 - Rebuild File/Directory Allocation Maps", fsck_quiet},  /* 107 */ { fsck_PHASE8R, "**Phase 8 - Rebuild Disk Allocation Maps", fsck_quiet},  /* 108 */ { fsck_PHASE9, "**Phase 9 - Reformat File System Log", fsck_quiet},  /* 109 */ { fsck_WILLRMVBADENTRY, "Directory has entry for unallocated file %s%u. Will remove.", fsck_quiet},  /* 110 */ { fsck_ERRONAITRD, "FATAL ERROR (%d,%d) ON READ Aggregate Inode Table (%d) first extent.", fsck_debug},  /* 111 */ { fsck_WILLCLEAREA, "Format error in Extended Attributes Space or descriptor. Will clear.", fsck_quiet},  /* 112 */ { fsck_BADIAMIAGPXDL, "The extent descriptor for inodes %d through %d is invalid.  (Inode Allocation Map %s%d, Inode Allocation Group %d, Extent Index %d).", fsck_debug},  /* 113 */ { fsck_EAFORMATBAD, "Extended attributes for file set object %s%s%u have an invalid format.", fsck_debug},  /* 114 */ { fsck_REPAIRSINPROGRESS, "Superblock marked dirty because repairs are about to be written.", fsck_debug},  /* 115 */ { fsck_PRMMUTEXCLLEVELS, "Mutually exclusive 'check READ ONLY' and 'fix file system' options specified.", fsck_quiet},  /* 116 */ { avail_116, "*undefined*", fsck_quiet},  /* 117 */ { fsck_PRMUNRECOPTION, "Unrecognized  -f parameter value detected:   %s", fsck_quiet},  /* 118 */ { fsck_PRMUNSUPPENUM, "Unsupported  parameter:   %s", fsck_quiet},  /* 119 */ { fsck_LOGFORMATFAIL, "logformat failed (rc=%d).  fsck continuing.", fsck_quiet},  /* 120 */ { fsck_LOGFORMATRC, "logformat returned rc = %d", fsck_debug},  /* 121 */ { fsck_CNTRDDEVCHAR, "Unable to read device characteristics.  Boot sector cannot be refreshed.  Continuing.", fsck_quiet},  /* 122 */ { fsck_SBBADP, "Primary superblock is corrupt.", fsck_debug},  /* 123 */ { fsck_BADIAG, "Inode Allocation Group %s%d is inconsistent.", fsck_debug},  /* 124 */ { fsck_BADIAMIAGPXDU, "cannot repair an allocation error for files and/or directories %d through %d.", fsck_quiet},  /* 125 */ { fsck_RINOTDIR, "Root inode is not a directory.", fsck_debug},  /* 126 */ { fsck_RIUNALLOC, "Root inode is not allocated.", fsck_debug},  /* 127 */ { fsck_ROOTALLOC, "Root inode allocated.", fsck_debug},  /* 128 */ { fsck_ROOTNOWDIR, "Root inode changed to directory.", fsck_debug},  /* 129 */ { fsck_DEVUNLOCKRC, "IOCtl(...DSK_UNLOCKDRIVE...) returned rc = %d", fsck_debug},  /* 130 */ { fsck_SBOKP, "Primary superblock is valid.", fsck_debug},  /* 131 */ { fsck_SESSEND, "processing terminated:  %s  with return code: %d  exit code: %d.", fsck_debug},  /* 132 */ { fsck_DEVCLOSERC, "Close returned rc = %d", fsck_debug},  /* 133 */ { fsck_SESSPRMDFLT, "Using default parameter: -p", fsck_debug},  /* 134 */ { fsck_DEVOPENRDWRRC, "Open(...READ/WRITE EXCLUSIVE...) returned rc = %d", fsck_debug},  /* 135 */ { fsck_UALINOREF, "One or more directory entry found for unallocated inode %s%s.", fsck_debug},  /* 136 */ { fsck_CANTRECOVERINOS, "cannot recover files and/or directories %d through %d.   CANNOT CONTINUE.", fsck_quiet},  /* 137 */ { fsck_URCVWRT, "Unrecoverable error writing %s to %s.  CANNOT CONTINUE.", fsck_quiet},  /* 138 */ { fsck_WILLFIXRIBADDATFMT, "The root directory has an invalid data format.  Will correct.", fsck_quiet},  /* 139 */ { fsck_WILLFIXRIBADFMT, "The root directory has an invalid format.  Will correct.", fsck_quiet},  /* 140 */ { fsck_WILLRELEASEINOS, "cannot recover files and/or directories %d through %d.  Will release.", fsck_quiet},  /* 141 */ { fsck_BADINOCLAIMSDUPSF, "File claims cross linked block(s).", fsck_quiet},  /* 142 */ { fsck_BADINODATAFORMAT, "cannot repair the data format error(s) in this file.", fsck_quiet},  /* 143 */ { fsck_BADINOFORMAT, "cannot repair the format error(s) in this file.", fsck_quiet},  /* 144 */ { fsck_CANTREPAIRINO, "cannot repair %s%s%u.", fsck_quiet},  /* 145 */ { fsck_DRIVEID, "The current device is:  %s", fsck_quiet},  /* 146 */ { fsck_DRIVETYPE, "The type of file system for the device is JFS.", fsck_debug},  /* 147 */ { fsck_WILLRELEASEINO, "cannot repair %s%s%u.  Will release.", fsck_quiet},  /* 148 */ { fsck_SBOKS, "Secondary superblock is valid.", fsck_debug},

⌨️ 快捷键说明

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