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 11 ec EXT2_ET_BASE, 12 "EXT2FS Library version @E2FSPROGS_VERSION@" 13 14 ec EXT2_ET_MAGIC_EXT2FS_FILSYS, 15 "Wrong magic number for ext2_filsys structure" 16 17 ec EXT2_ET_MAGIC_BADBLOCKS_LIST, 18 "Wrong magic number for badblocks_list structure" 19 20 ec EXT2_ET_MAGIC_BADBLOCKS_ITERATE, 21 "Wrong magic number for badblocks_iterate structure" 22 23 ec EXT2_ET_MAGIC_INODE_SCAN, 24 "Wrong magic number for inode_scan structure" 25 26 ec EXT2_ET_MAGIC_IO_CHANNEL, 27 "Wrong magic number for io_channel structure" 28 29 ec EXT2_ET_MAGIC_UNIX_IO_CHANNEL, 30 "Wrong magic number for unix io_channel structure" 31 32 ec EXT2_ET_MAGIC_IO_MANAGER, 33 "Wrong magic number for io_manager structure" 34 35 ec EXT2_ET_MAGIC_BLOCK_BITMAP, 36 "Wrong magic number for block_bitmap structure" 37 38 ec EXT2_ET_MAGIC_INODE_BITMAP, 39 "Wrong magic number for inode_bitmap structure" 40 41 ec EXT2_ET_MAGIC_GENERIC_BITMAP, 42 "Wrong magic number for generic_bitmap structure" 43 44 ec EXT2_ET_MAGIC_TEST_IO_CHANNEL, 45 "Wrong magic number for test io_channel structure" 46 47 ec EXT2_ET_MAGIC_DBLIST, 48 "Wrong magic number for directory block list structure" 49 50 ec EXT2_ET_MAGIC_ICOUNT, 51 "Wrong magic number for icount structure" 52 53 ec EXT2_ET_MAGIC_PQ_IO_CHANNEL, 54 "Wrong magic number for Powerquest io_channel structure" 55 56 ec EXT2_ET_MAGIC_EXT2_FILE, 57 "Wrong magic number for ext2 file structure" 58 59 ec EXT2_ET_MAGIC_E2IMAGE, 60 "Wrong magic number for Ext2 Image Header" 61 62 ec EXT2_ET_MAGIC_INODE_IO_CHANNEL, 63 "Wrong magic number for inode io_channel structure" 64 65 ec EXT2_ET_MAGIC_EXTENT_HANDLE, 66 "Wrong magic number for ext4 extent handle" 67 68 ec EXT2_ET_BAD_MAGIC, 69 "Bad magic number in super-block" 70 71 ec EXT2_ET_REV_TOO_HIGH, 72 "Filesystem revision too high" 73 74 ec EXT2_ET_RO_FILSYS, 75 "Attempt to write to filesystem opened read-only" 76 77 ec EXT2_ET_GDESC_READ, 78 "Can't read group descriptors" 79 80 ec EXT2_ET_GDESC_WRITE, 81 "Can't write group descriptors" 82 83 ec EXT2_ET_GDESC_BAD_BLOCK_MAP, 84 "Corrupt group descriptor: bad block for block bitmap" 85 86 ec EXT2_ET_GDESC_BAD_INODE_MAP, 87 "Corrupt group descriptor: bad block for inode bitmap" 88 89 ec EXT2_ET_GDESC_BAD_INODE_TABLE, 90 "Corrupt group descriptor: bad block for inode table" 91 92 ec EXT2_ET_INODE_BITMAP_WRITE, 93 "Can't write an inode bitmap" 94 95 ec EXT2_ET_INODE_BITMAP_READ, 96 "Can't read an inode bitmap" 97 98 ec EXT2_ET_BLOCK_BITMAP_WRITE, 99 "Can't write a block bitmap" 100 101 ec EXT2_ET_BLOCK_BITMAP_READ, 102 "Can't read a block bitmap" 103 104 ec EXT2_ET_INODE_TABLE_WRITE, 105 "Can't write an inode table" 106 107 ec EXT2_ET_INODE_TABLE_READ, 108 "Can't read an inode table" 109 110 ec EXT2_ET_NEXT_INODE_READ, 111 "Can't read next inode" 112 113 ec EXT2_ET_UNEXPECTED_BLOCK_SIZE, 114 "Filesystem has unexpected block size" 115 116 ec EXT2_ET_DIR_CORRUPTED, 117 "EXT2 directory corrupted" 118 119 ec EXT2_ET_SHORT_READ, 120 "Attempt to read block from filesystem resulted in short read" 121 122 ec EXT2_ET_SHORT_WRITE, 123 "Attempt to write block to filesystem resulted in short write" 124 125 ec EXT2_ET_DIR_NO_SPACE, 126 "No free space in the directory" 127 128 ec EXT2_ET_NO_INODE_BITMAP, 129 "Inode bitmap not loaded" 130 131 ec EXT2_ET_NO_BLOCK_BITMAP, 132 "Block bitmap not loaded" 133 134 ec EXT2_ET_BAD_INODE_NUM, 135 "Illegal inode number" 136 137 ec EXT2_ET_BAD_BLOCK_NUM, 138 "Illegal block number" 139 140 ec EXT2_ET_EXPAND_DIR_ERR, 141 "Internal error in ext2fs_expand_dir" 142 143 ec EXT2_ET_TOOSMALL, 144 "Not enough space to build proposed filesystem" 145 146 ec EXT2_ET_BAD_BLOCK_MARK, 147 "Illegal block number passed to ext2fs_mark_block_bitmap" 148 149 ec EXT2_ET_BAD_BLOCK_UNMARK, 150 "Illegal block number passed to ext2fs_unmark_block_bitmap" 151 152 ec EXT2_ET_BAD_BLOCK_TEST, 153 "Illegal block number passed to ext2fs_test_block_bitmap" 154 155 ec EXT2_ET_BAD_INODE_MARK, 156 "Illegal inode number passed to ext2fs_mark_inode_bitmap" 157 158 ec EXT2_ET_BAD_INODE_UNMARK, 159 "Illegal inode number passed to ext2fs_unmark_inode_bitmap" 160 161 ec EXT2_ET_BAD_INODE_TEST, 162 "Illegal inode number passed to ext2fs_test_inode_bitmap" 163 164 ec EXT2_ET_FUDGE_BLOCK_BITMAP_END, 165 "Attempt to fudge end of block bitmap past the real end" 166 167 ec EXT2_ET_FUDGE_INODE_BITMAP_END, 168 "Attempt to fudge end of inode bitmap past the real end" 169 170 ec EXT2_ET_BAD_IND_BLOCK, 171 "Illegal indirect block found" 172 173 ec EXT2_ET_BAD_DIND_BLOCK, 174 "Illegal doubly indirect block found" 175 176 ec EXT2_ET_BAD_TIND_BLOCK, 177 "Illegal triply indirect block found" 178 179 ec EXT2_ET_NEQ_BLOCK_BITMAP, 180 "Block bitmaps are not the same" 181 182 ec EXT2_ET_NEQ_INODE_BITMAP, 183 "Inode bitmaps are not the same" 184 185 ec EXT2_ET_BAD_DEVICE_NAME, 186 "Illegal or malformed device name" 187 188 ec EXT2_ET_MISSING_INODE_TABLE, 189 "A block group is missing an inode table" 190 191 ec EXT2_ET_CORRUPT_SUPERBLOCK, 192 "The ext2 superblock is corrupt" 193 194 ec EXT2_ET_BAD_GENERIC_MARK, 195 "Illegal generic bit number passed to ext2fs_mark_generic_bitmap" 196 197 ec EXT2_ET_BAD_GENERIC_UNMARK, 198 "Illegal generic bit number passed to ext2fs_unmark_generic_bitmap" 199 200 ec EXT2_ET_BAD_GENERIC_TEST, 201 "Illegal generic bit number passed to ext2fs_test_generic_bitmap" 202 203 ec EXT2_ET_SYMLINK_LOOP, 204 "Too many symbolic links encountered." 205 206 ec EXT2_ET_CALLBACK_NOTHANDLED, 207 "The callback function will not handle this case" 208 209 ec EXT2_ET_BAD_BLOCK_IN_INODE_TABLE, 210 "The inode is from a bad block in the inode table" 211 212 ec EXT2_ET_UNSUPP_FEATURE, 213 "Filesystem has unsupported feature(s)" 214 215 ec EXT2_ET_RO_UNSUPP_FEATURE, 216 "Filesystem has unsupported read-only feature(s)" 217 218 ec EXT2_ET_LLSEEK_FAILED, 219 "IO Channel failed to seek on read or write" 220 221 ec EXT2_ET_NO_MEMORY, 222 "Memory allocation failed" 223 224 ec EXT2_ET_INVALID_ARGUMENT, 225 "Invalid argument passed to ext2 library" 226 227 ec EXT2_ET_BLOCK_ALLOC_FAIL, 228 "Could not allocate block in ext2 filesystem" 229 230 ec EXT2_ET_INODE_ALLOC_FAIL, 231 "Could not allocate inode in ext2 filesystem" 232 233 ec EXT2_ET_NO_DIRECTORY, 234 "Ext2 inode is not a directory" 235 236 ec EXT2_ET_TOO_MANY_REFS, 237 "Too many references in table" 238 239 ec EXT2_ET_FILE_NOT_FOUND, 240 "File not found by ext2_lookup" 241 242 ec EXT2_ET_FILE_RO, 243 "File open read-only" 244 245 ec EXT2_ET_DB_NOT_FOUND, 246 "Ext2 directory block not found" 247 248 ec EXT2_ET_DIR_EXISTS, 249 "Ext2 directory already exists" 250 251 ec EXT2_ET_UNIMPLEMENTED, 252 "Unimplemented ext2 library function" 253 254 ec EXT2_ET_CANCEL_REQUESTED, 255 "User cancel requested" 256 257 ec EXT2_ET_FILE_TOO_BIG, 258 "Ext2 file too big" 259 260 ec EXT2_ET_JOURNAL_NOT_BLOCK, 261 "Supplied journal device not a block device" 262 263 ec EXT2_ET_NO_JOURNAL_SB, 264 "Journal superblock not found" 265 266 ec EXT2_ET_JOURNAL_TOO_SMALL, 267 "Journal must be at least 1024 blocks" 268 269 ec EXT2_ET_JOURNAL_UNSUPP_VERSION, 270 "Unsupported journal version" 271 272 ec EXT2_ET_LOAD_EXT_JOURNAL, 273 "Error loading external journal" 274 275 ec EXT2_ET_NO_JOURNAL, 276 "Journal not found" 277 278 ec EXT2_ET_DIRHASH_UNSUPP, 279 "Directory hash unsupported" 280 281 ec EXT2_ET_BAD_EA_BLOCK_NUM, 282 "Illegal extended attribute block number" 283 284 ec EXT2_ET_TOO_MANY_INODES, 285 "Cannot create filesystem with requested number of inodes" 286 287 ec EXT2_ET_NOT_IMAGE_FILE, 288 "E2image snapshot not in use" 289 290 ec EXT2_ET_RES_GDT_BLOCKS, 291 "Too many reserved group descriptor blocks" 292 293 ec EXT2_ET_RESIZE_INODE_CORRUPT, 294 "Resize inode is corrupt" 295 296 ec EXT2_ET_SET_BMAP_NO_IND, 297 "Tried to set block bmap with missing indirect block" 298 299 ec EXT2_ET_TDB_SUCCESS, 300 "TDB: Success" 301 302 ec EXT2_ET_TDB_ERR_CORRUPT, 303 "TDB: Corrupt database" 304 305 ec EXT2_ET_TDB_ERR_IO, 306 "TDB: IO Error" 307 308 ec EXT2_ET_TDB_ERR_LOCK, 309 "TDB: Locking error" 310 311 ec EXT2_ET_TDB_ERR_OOM, 312 "TDB: Out of memory" 313 314 ec EXT2_ET_TDB_ERR_EXISTS, 315 "TDB: Record exists" 316 317 ec EXT2_ET_TDB_ERR_NOLOCK, 318 "TDB: Lock exists on other keys" 319 320 ec EXT2_ET_TDB_ERR_EINVAL, 321 "TDB: Invalid parameter" 322 323 ec EXT2_ET_TDB_ERR_NOEXIST, 324 "TDB: Record does not exist" 325 326 ec EXT2_ET_TDB_ERR_RDONLY, 327 "TDB: Write not permitted" 328 329 ec EXT2_ET_DBLIST_EMPTY, 330 "Ext2fs directory block list is empty" 331 332 ec EXT2_ET_RO_BLOCK_ITERATE, 333 "Attempt to modify a block mapping via a read-only block iterator" 334 335 ec EXT2_ET_MAGIC_EXTENT_PATH, 336 "Wrong magic number for ext4 extent saved path" 337 338 ec EXT2_ET_MAGIC_GENERIC_BITMAP64, 339 "Wrong magic number for 64-bit generic bitmap" 340 341 ec EXT2_ET_MAGIC_BLOCK_BITMAP64, 342 "Wrong magic number for 64-bit block bitmap" 343 344 ec EXT2_ET_MAGIC_INODE_BITMAP64, 345 "Wrong magic number for 64-bit inode bitmap" 346 347 ec EXT2_ET_MAGIC_RESERVED_13, 348 "Wrong magic number --- RESERVED_13" 349 350 ec EXT2_ET_MAGIC_RESERVED_14, 351 "Wrong magic number --- RESERVED_14" 352 353 ec EXT2_ET_MAGIC_RESERVED_15, 354 "Wrong magic number --- RESERVED_15" 355 356 ec EXT2_ET_MAGIC_RESERVED_16, 357 "Wrong magic number --- RESERVED_16" 358 359 ec EXT2_ET_MAGIC_RESERVED_17, 360 "Wrong magic number --- RESERVED_17" 361 362 ec EXT2_ET_MAGIC_RESERVED_18, 363 "Wrong magic number --- RESERVED_18" 364 365 ec EXT2_ET_MAGIC_RESERVED_19, 366 "Wrong magic number --- RESERVED_19" 367 368 ec EXT2_ET_EXTENT_HEADER_BAD, 369 "Corrupt extent header" 370 371 ec EXT2_ET_EXTENT_INDEX_BAD, 372 "Corrupt extent index" 373 374 ec EXT2_ET_EXTENT_LEAF_BAD, 375 "Corrupt extent" 376 377 ec EXT2_ET_EXTENT_NO_SPACE, 378 "No free space in extent map" 379 380 ec EXT2_ET_INODE_NOT_EXTENT, 381 "Inode does not use extents" 382 383 ec EXT2_ET_EXTENT_NO_NEXT, 384 "No 'next' extent" 385 386 ec EXT2_ET_EXTENT_NO_PREV, 387 "No 'previous' extent" 388 389 ec EXT2_ET_EXTENT_NO_UP, 390 "No 'up' extent" 391 392 ec EXT2_ET_EXTENT_NO_DOWN, 393 "No 'down' extent" 394 395 ec EXT2_ET_NO_CURRENT_NODE, 396 "No current node" 397 398 ec EXT2_ET_OP_NOT_SUPPORTED, 399 "Ext2fs operation not supported" 400 401 ec EXT2_ET_CANT_INSERT_EXTENT, 402 "No room to insert extent in node" 403 404 ec EXT2_ET_CANT_SPLIT_EXTENT, 405 "Splitting would result in empty node" 406 407 ec EXT2_ET_EXTENT_NOT_FOUND, 408 "Extent not found" 409 410 ec EXT2_ET_EXTENT_NOT_SUPPORTED, 411 "Operation not supported for inodes containing extents" 412 413 ec EXT2_ET_EXTENT_INVALID_LENGTH, 414 "Extent length is invalid" 415 416 ec EXT2_ET_IO_CHANNEL_NO_SUPPORT_64, 417 "I/O Channel does not support 64-bit block numbers" 418 419 ec EXT2_ET_NO_MTAB_FILE, 420 "Can't check if filesystem is mounted due to missing mtab file" 421 422 ec EXT2_ET_CANT_USE_LEGACY_BITMAPS, 423 "Filesystem too large to use legacy bitmaps" 424 425 ec EXT2_ET_MMP_MAGIC_INVALID, 426 "MMP: invalid magic number" 427 428 ec EXT2_ET_MMP_FAILED, 429 "MMP: device currently active" 430 431 ec EXT2_ET_MMP_FSCK_ON, 432 "MMP: fsck being run" 433 434 ec EXT2_ET_MMP_BAD_BLOCK, 435 "MMP: block number beyond filesystem range" 436 437 ec EXT2_ET_MMP_UNKNOWN_SEQ, 438 "MMP: undergoing an unknown operation" 439 440 ec EXT2_ET_MMP_CHANGE_ABORT, 441 "MMP: filesystem still in use" 442 443 ec EXT2_ET_MMP_OPEN_DIRECT, 444 "MMP: open with O_DIRECT failed" 445 446 ec EXT2_ET_BAD_DESC_SIZE, 447 "Block group descriptor size incorrect" 448 449 ec EXT2_ET_INODE_CSUM_INVALID, 450 "Inode checksum does not match inode" 451 452 ec EXT2_ET_INODE_BITMAP_CSUM_INVALID, 453 "Inode bitmap checksum does not match bitmap" 454 455 ec EXT2_ET_EXTENT_CSUM_INVALID, 456 "Extent block checksum does not match extent block" 457 458 ec EXT2_ET_DIR_NO_SPACE_FOR_CSUM, 459 "Directory block does not have space for checksum" 460 461 ec EXT2_ET_DIR_CSUM_INVALID, 462 "Directory block checksum does not match directory block" 463 464 ec EXT2_ET_EXT_ATTR_CSUM_INVALID, 465 "Extended attribute block checksum does not match block" 466 467 ec EXT2_ET_SB_CSUM_INVALID, 468 "Superblock checksum does not match superblock" 469 470 ec EXT2_ET_UNKNOWN_CSUM, 471 "Unknown checksum algorithm" 472 473 ec EXT2_ET_MMP_CSUM_INVALID, 474 "MMP block checksum does not match MMP block" 475 476 ec EXT2_ET_FILE_EXISTS, 477 "Ext2 file already exists" 478 479 end 480