1# 2# Copyright (C) 1993, 1994, 1995, 1996 Theodore Ts'o. 3# 4# %Begin-Header% 5# This file may be redistributed under the terms of the GNU Public 6# License. 7# %End-Header% 8# 9 error_table ext2 10 11ec EXT2_ET_BASE, 12 "EXT2FS Library version @E2FSPROGS_VERSION@" 13 14ec EXT2_ET_MAGIC_EXT2FS_FILSYS, 15 "Wrong magic number for ext2_filsys structure" 16 17ec EXT2_ET_MAGIC_BADBLOCKS_LIST, 18 "Wrong magic number for badblocks_list structure" 19 20ec EXT2_ET_MAGIC_BADBLOCKS_ITERATE, 21 "Wrong magic number for badblocks_iterate structure" 22 23ec EXT2_ET_MAGIC_INODE_SCAN, 24 "Wrong magic number for inode_scan structure" 25 26ec EXT2_ET_MAGIC_IO_CHANNEL, 27 "Wrong magic number for io_channel structure" 28 29ec EXT2_ET_MAGIC_UNIX_IO_CHANNEL, 30 "Wrong magic number for unix io_channel structure" 31 32ec EXT2_ET_MAGIC_IO_MANAGER, 33 "Wrong magic number for io_manager structure" 34 35ec EXT2_ET_MAGIC_BLOCK_BITMAP, 36 "Wrong magic number for block_bitmap structure" 37 38ec EXT2_ET_MAGIC_INODE_BITMAP, 39 "Wrong magic number for inode_bitmap structure" 40 41ec EXT2_ET_MAGIC_GENERIC_BITMAP, 42 "Wrong magic number for generic_bitmap structure" 43 44ec EXT2_ET_MAGIC_TEST_IO_CHANNEL, 45 "Wrong magic number for test io_channel structure" 46 47ec EXT2_ET_MAGIC_DBLIST, 48 "Wrong magic number for directory block list structure" 49 50ec EXT2_ET_MAGIC_ICOUNT, 51 "Wrong magic number for icount structure" 52 53ec EXT2_ET_MAGIC_PQ_IO_CHANNEL, 54 "Wrong magic number for Powerquest io_channel structure" 55 56ec EXT2_ET_MAGIC_EXT2_FILE, 57 "Wrong magic number for ext2 file structure" 58 59ec EXT2_ET_MAGIC_E2IMAGE, 60 "Wrong magic number for Ext2 Image Header" 61 62ec EXT2_ET_MAGIC_INODE_IO_CHANNEL, 63 "Wrong magic number for inode io_channel structure" 64 65ec EXT2_ET_MAGIC_RESERVED_9, 66 "Wrong magic number --- RESERVED_9" 67 68ec EXT2_ET_BAD_MAGIC, 69 "Bad magic number in super-block" 70 71ec EXT2_ET_REV_TOO_HIGH, 72 "Filesystem revision too high" 73 74ec EXT2_ET_RO_FILSYS, 75 "Attempt to write to filesystem opened read-only" 76 77ec EXT2_ET_GDESC_READ, 78 "Can't read group descriptors" 79 80ec EXT2_ET_GDESC_WRITE, 81 "Can't write group descriptors" 82 83ec EXT2_ET_GDESC_BAD_BLOCK_MAP, 84 "Corrupt group descriptor: bad block for block bitmap" 85 86ec EXT2_ET_GDESC_BAD_INODE_MAP, 87 "Corrupt group descriptor: bad block for inode bitmap" 88 89ec EXT2_ET_GDESC_BAD_INODE_TABLE, 90 "Corrupt group descriptor: bad block for inode table" 91 92ec EXT2_ET_INODE_BITMAP_WRITE, 93 "Can't write an inode bitmap" 94 95ec EXT2_ET_INODE_BITMAP_READ, 96 "Can't read an inode bitmap" 97 98ec EXT2_ET_BLOCK_BITMAP_WRITE, 99 "Can't write an block bitmap" 100 101ec EXT2_ET_BLOCK_BITMAP_READ, 102 "Can't read an block bitmap" 103 104ec EXT2_ET_INODE_TABLE_WRITE, 105 "Can't write an inode table" 106 107ec EXT2_ET_INODE_TABLE_READ, 108 "Can't read an inode table" 109 110ec EXT2_ET_NEXT_INODE_READ, 111 "Can't read next inode" 112 113ec EXT2_ET_UNEXPECTED_BLOCK_SIZE, 114 "Filesystem has unexpected block size" 115 116ec EXT2_ET_DIR_CORRUPTED, 117 "EXT2 directory corrupted" 118 119ec EXT2_ET_SHORT_READ, 120 "Attempt to read block from filesystem resulted in short read" 121 122ec EXT2_ET_SHORT_WRITE, 123 "Attempt to write block from filesystem resulted in short write" 124 125ec EXT2_ET_DIR_NO_SPACE, 126 "No free space in the directory" 127 128ec EXT2_ET_NO_INODE_BITMAP, 129 "Inode bitmap not loaded" 130 131ec EXT2_ET_NO_BLOCK_BITMAP, 132 "Block bitmap not loaded" 133 134ec EXT2_ET_BAD_INODE_NUM, 135 "Illegal inode number" 136 137ec EXT2_ET_BAD_BLOCK_NUM, 138 "Illegal block number" 139 140ec EXT2_ET_EXPAND_DIR_ERR, 141 "Internal error in ext2fs_expand_dir" 142 143ec EXT2_ET_TOOSMALL, 144 "Not enough space to build proposed filesystem" 145 146ec EXT2_ET_BAD_BLOCK_MARK, 147 "Illegal block number passed to ext2fs_mark_block_bitmap" 148 149ec EXT2_ET_BAD_BLOCK_UNMARK, 150 "Illegal block number passed to ext2fs_unmark_block_bitmap" 151 152ec EXT2_ET_BAD_BLOCK_TEST, 153 "Illegal block number passed to ext2fs_test_block_bitmap" 154 155ec EXT2_ET_BAD_INODE_MARK, 156 "Illegal inode number passed to ext2fs_mark_inode_bitmap" 157 158ec EXT2_ET_BAD_INODE_UNMARK, 159 "Illegal inode number passed to ext2fs_unmark_inode_bitmap" 160 161ec EXT2_ET_BAD_INODE_TEST, 162 "Illegal inode number passed to ext2fs_test_inode_bitmap" 163 164ec EXT2_ET_FUDGE_BLOCK_BITMAP_END, 165 "Attempt to fudge end of block bitmap past the real end" 166 167ec EXT2_ET_FUDGE_INODE_BITMAP_END, 168 "Attempt to fudge end of inode bitmap past the real end" 169 170ec EXT2_ET_BAD_IND_BLOCK, 171 "Illegal indirect block found" 172 173ec EXT2_ET_BAD_DIND_BLOCK, 174 "Illegal doubly indirect block found" 175 176ec EXT2_ET_BAD_TIND_BLOCK, 177 "Illegal triply indirect block found" 178 179ec EXT2_ET_NEQ_BLOCK_BITMAP, 180 "Block bitmaps are not the same" 181 182ec EXT2_ET_NEQ_INODE_BITMAP, 183 "Inode bitmaps are not the same" 184 185ec EXT2_ET_BAD_DEVICE_NAME, 186 "Illegal or malformed device name" 187 188ec EXT2_ET_MISSING_INODE_TABLE, 189 "A block group is missing an inode table" 190 191ec EXT2_ET_CORRUPT_SUPERBLOCK, 192 "The ext2 superblock is corrupt" 193 194ec EXT2_ET_BAD_GENERIC_MARK, 195 "Illegal generic bit number passed to ext2fs_mark_generic_bitmap" 196 197ec EXT2_ET_BAD_GENERIC_UNMARK, 198 "Illegal generic bit number passed to ext2fs_unmark_generic_bitmap" 199 200ec EXT2_ET_BAD_GENERIC_TEST, 201 "Illegal generic bit number passed to ext2fs_test_generic_bitmap" 202 203ec EXT2_ET_SYMLINK_LOOP, 204 "Too many symbolic links encountered." 205 206ec EXT2_ET_CALLBACK_NOTHANDLED, 207 "The callback function will not handle this case" 208 209ec EXT2_ET_BAD_BLOCK_IN_INODE_TABLE, 210 "The inode is from a bad block in the inode table" 211 212ec EXT2_ET_UNSUPP_FEATURE, 213 "Filesystem has unsupported feature(s)" 214 215ec EXT2_ET_RO_UNSUPP_FEATURE, 216 "Filesystem has unsupported read-only feature(s)" 217 218ec EXT2_ET_LLSEEK_FAILED, 219 "IO Channel failed to seek on read or write" 220 221ec EXT2_ET_NO_MEMORY, 222 "Memory allocation failed" 223 224ec EXT2_ET_INVALID_ARGUMENT, 225 "Invalid argument passed to ext2 library" 226 227ec EXT2_ET_BLOCK_ALLOC_FAIL, 228 "Could not allocate block in ext2 filesystem" 229 230ec EXT2_ET_INODE_ALLOC_FAIL, 231 "Could not allocate inode in ext2 filesystem" 232 233ec EXT2_ET_NO_DIRECTORY, 234 "Ext2 inode is not a directory" 235 236ec EXT2_ET_TOO_MANY_REFS, 237 "Too many references in table" 238 239ec EXT2_ET_FILE_NOT_FOUND, 240 "File not found by ext2_lookup" 241 242ec EXT2_ET_FILE_RO, 243 "File open read-only" 244 245ec EXT2_ET_DB_NOT_FOUND, 246 "Ext2 directory block not found" 247 248ec EXT2_ET_DIR_EXISTS, 249 "Ext2 directory already exists" 250 251ec EXT2_ET_UNIMPLEMENTED, 252 "Unimplemented ext2 library function" 253 254ec EXT2_ET_CANCEL_REQUESTED, 255 "User cancel requested" 256 257ec EXT2_ET_FILE_TOO_BIG, 258 "Ext2 file too big" 259 260ec EXT2_ET_JOURNAL_NOT_BLOCK, 261 "Supplied journal device not a block device" 262 263ec EXT2_ET_NO_JOURNAL_SB, 264 "Journal superblock not found" 265 266ec EXT2_ET_JOURNAL_TOO_SMALL, 267 "Journal must be at least 1024 blocks" 268 269ec EXT2_ET_JOURNAL_UNSUPP_VERSION, 270 "Unsupported journal version" 271 272ec EXT2_ET_LOAD_EXT_JOURNAL, 273 "Error loading external journal" 274 275ec EXT2_ET_NO_JOURNAL, 276 "Journal not found" 277 278ec EXT2_ET_DIRHASH_UNSUPP, 279 "Directory hash unsupported" 280 281ec EXT2_ET_BAD_EA_BLOCK_NUM, 282 "Illegal extended attribute block number" 283 284ec EXT2_ET_TOO_MANY_INODES, 285 "Cannot create filesystem with requested number of inodes" 286 287ec EXT2_ET_NOT_IMAGE_FILE, 288 "E2image snapshot not in use" 289 290ec EXT2_ET_RES_GDT_BLOCKS, 291 "Too many reserved group descriptor blocks" 292 293ec EXT2_ET_RESIZE_INODE_CORRUPT, 294 "Resize inode is corrupt" 295 296ec EXT2_ET_SET_BMAP_NO_IND, 297 "Missing indirect block not present" 298 299ec EXT2_ET_TDB_SUCCESS, 300 "TDB: Success" 301 302ec EXT2_ET_TDB_ERR_CORRUPT, 303 "TDB: Corrupt database" 304 305ec EXT2_ET_TDB_ERR_IO, 306 "TDB: IO Error" 307 308ec EXT2_ET_TDB_ERR_LOCK, 309 "TDB: Locking error" 310 311ec EXT2_ET_TDB_ERR_OOM, 312 "TDB: Out of memory" 313 314ec EXT2_ET_TDB_ERR_EXISTS, 315 "TDB: Record exists" 316 317ec EXT2_ET_TDB_ERR_NOLOCK, 318 "TDB: Lock exists on other keys" 319 320ec EXT2_ET_TDB_ERR_EINVAL, 321 "TDB: Invalid parameter" 322 323ec EXT2_ET_TDB_ERR_NOEXIST, 324 "TDB: Record does not exist" 325 326ec EXT2_ET_TDB_ERR_RDONLY, 327 "TDB: Write not permitted" 328 329ec EXT2_ET_DBLIST_EMPTY, 330 "Ext2fs directory block list is empty" 331 332 end 333 334