| Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 1 | # |
| Theodore Ts'o | f3db356 | 1997-04-26 13:34:30 +0000 | [diff] [blame] | 2 | # Copyright (C) 1993, 1994 Theodore Ts'o. This file may be redistributed |
| Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 3 | # under the terms of the GNU Public License. |
| 4 | # |
| 5 | error_table ext2 |
| 6 | |
| 7 | ec EXT2_ET_BASE, |
| Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame^] | 8 | "EXT2FS Library version 0.5c" |
| Theodore Ts'o | f3db356 | 1997-04-26 13:34:30 +0000 | [diff] [blame] | 9 | |
| 10 | ec EXT2_ET_MAGIC_EXT2FS_FILSYS, |
| 11 | "Wrong magic number for ext2_filsys structure" |
| 12 | |
| 13 | ec EXT2_ET_MAGIC_BADBLOCKS_LIST, |
| 14 | "Wrong magic number for badblocks_list structure" |
| 15 | |
| 16 | ec EXT2_ET_MAGIC_BADBLOCKS_ITERATE, |
| 17 | "Wrong magic number for badblocks_iterate structure" |
| 18 | |
| 19 | ec EXT2_ET_MAGIC_INODE_SCAN, |
| 20 | "Wrong magic number for inode_scan structure" |
| 21 | |
| 22 | ec EXT2_ET_MAGIC_IO_CHANNEL, |
| 23 | "Wrong magic number for io_channel structure" |
| 24 | |
| 25 | ec EXT2_ET_MAGIC_UNIX_IO_CHANNEL, |
| 26 | "Wrong magic number for unix io_channel structure" |
| 27 | |
| 28 | ec EXT2_ET_MAGIC_IO_MANAGER, |
| 29 | "Wrong magic number for io_manager structure" |
| 30 | |
| 31 | ec EXT2_ET_MAGIC_BLOCK_BITMAP, |
| 32 | "Wrong magic number for block_bitmap structure" |
| 33 | |
| 34 | ec EXT2_ET_MAGIC_INODE_BITMAP, |
| 35 | "Wrong magic number for inode_bitmap structure" |
| 36 | |
| 37 | ec EXT2_ET_MAGIC_RESERVED_1, |
| 38 | "Wrong magic number --- RESERVED_1" |
| 39 | |
| 40 | ec EXT2_ET_MAGIC_RESERVED_2, |
| 41 | "Wrong magic number --- RESERVED_2" |
| 42 | |
| 43 | ec EXT2_ET_MAGIC_RESERVED_3, |
| 44 | "Wrong magic number --- RESERVED_3" |
| 45 | |
| 46 | ec EXT2_ET_MAGIC_RESERVED_4, |
| 47 | "Wrong magic number --- RESERVED_4" |
| 48 | |
| 49 | ec EXT2_ET_MAGIC_RESERVED_5, |
| 50 | "Wrong magic number --- RESERVED_5" |
| 51 | |
| 52 | ec EXT2_ET_MAGIC_RESERVED_6, |
| 53 | "Wrong magic number --- RESERVED_6" |
| 54 | |
| 55 | ec EXT2_ET_MAGIC_RESERVED_7, |
| 56 | "Wrong magic number --- RESERVED_7" |
| 57 | |
| 58 | ec EXT2_ET_MAGIC_RESERVED_8, |
| 59 | "Wrong magic number --- RESERVED_8" |
| 60 | |
| 61 | ec EXT2_ET_MAGIC_RESERVED_9, |
| 62 | "Wrong magic number --- RESERVED_9" |
| Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 63 | |
| 64 | ec EXT2_ET_BAD_MAGIC, |
| 65 | "Bad magic number in super-block" |
| 66 | |
| Theodore Ts'o | f3db356 | 1997-04-26 13:34:30 +0000 | [diff] [blame] | 67 | ec EXT2_ET_REV_TOO_HIGH, |
| 68 | "Filesystem revision too high" |
| 69 | |
| Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 70 | ec EXT2_ET_SB_LSEEK, |
| 71 | "Can't seek to superblock" |
| 72 | |
| 73 | ec EXT2_ET_SB_READ, |
| 74 | "Can't read superblock" |
| 75 | |
| 76 | ec EXT2_ET_SB_WRITE, |
| 77 | "Can't write superblock" |
| 78 | |
| 79 | ec EXT2_ET_RO_FILSYS, |
| 80 | "Attempt to write to filesystem opened read-only" |
| 81 | |
| 82 | ec EXT2_ET_GDESC_READ, |
| 83 | "Can't read group descriptors" |
| 84 | |
| 85 | ec EXT2_ET_GDESC_WRITE, |
| 86 | "Can't write group descriptors" |
| 87 | |
| 88 | ec EXT2_ET_GDESC_BAD_BLOCK_MAP, |
| 89 | "Corrupt group descriptor: bad block for block bitmap" |
| 90 | |
| 91 | ec EXT2_ET_GDESC_BAD_INODE_MAP, |
| 92 | "Corrupt group descriptor: bad block for inode bitmap" |
| 93 | |
| 94 | ec EXT2_ET_GDESC_BAD_INODE_TABLE, |
| 95 | "Corrupt group descriptor: bad block for inode table" |
| 96 | |
| 97 | ec EXT2_ET_INODE_BITMAP_WRITE, |
| 98 | "Can't write an inode bitmap" |
| 99 | |
| 100 | ec EXT2_ET_INODE_BITMAP_READ, |
| 101 | "Can't read an inode bitmap" |
| 102 | |
| 103 | ec EXT2_ET_BLOCK_BITMAP_WRITE, |
| 104 | "Can't write an block bitmap" |
| 105 | |
| 106 | ec EXT2_ET_BLOCK_BITMAP_READ, |
| 107 | "Can't read an block bitmap" |
| 108 | |
| 109 | ec EXT2_ET_INODE_TABLE_WRITE, |
| 110 | "Can't write an inode table" |
| 111 | |
| 112 | ec EXT2_ET_INODE_TABLE_READ, |
| 113 | "Can't read an inode table" |
| 114 | |
| 115 | ec EXT2_ET_NEXT_INODE_READ, |
| 116 | "Can't read next inode" |
| 117 | |
| 118 | ec EXT2_ET_UNEXPECTED_BLOCK_SIZE, |
| 119 | "Filesystem has unexpected block size" |
| 120 | |
| 121 | ec EXT2_ET_DIR_CORRUPTED, |
| 122 | "EXT2 directory corrupted" |
| 123 | |
| 124 | ec EXT2_ET_SHORT_READ, |
| 125 | "Attempt to read block from filesystem resulted in short read" |
| 126 | |
| 127 | ec EXT2_ET_SHORT_WRITE, |
| 128 | "Attempt to write block from filesystem resulted in short write" |
| 129 | |
| 130 | ec EXT2_ET_DIR_NO_SPACE, |
| 131 | "No free space in the directory" |
| 132 | |
| 133 | ec EXT2_ET_NO_INODE_BITMAP, |
| 134 | "Inode bitmap not loaded" |
| 135 | |
| 136 | ec EXT2_ET_NO_BLOCK_BITMAP, |
| 137 | "BLOCK bitmap not loaded" |
| 138 | |
| 139 | ec EXT2_ET_BAD_INODE_NUM, |
| 140 | "Illegal inode number" |
| 141 | |
| 142 | ec EXT2_ET_BAD_BLOCK_NUM, |
| 143 | "Illegal block number" |
| 144 | |
| 145 | ec EXT2_ET_EXPAND_DIR_ERR, |
| 146 | "Internal error in ext2fs_expand_dir" |
| 147 | |
| 148 | ec EXT2_ET_TOOSMALL, |
| 149 | "Not enough space to build proposed filesystem" |
| 150 | |
| Theodore Ts'o | f3db356 | 1997-04-26 13:34:30 +0000 | [diff] [blame] | 151 | ec EXT2_ET_BAD_BLOCK_MARK, |
| 152 | "Illegal block number passed to ext2fs_mark_block_bitmap" |
| 153 | |
| 154 | ec EXT2_ET_BAD_BLOCK_UNMARK, |
| 155 | "Illegal block number passed to ext2fs_unmark_block_bitmap" |
| 156 | |
| 157 | ec EXT2_ET_BAD_BLOCK_TEST, |
| 158 | "Illegal block number passed to ext2fs_test_block_bitmap" |
| 159 | |
| 160 | ec EXT2_ET_BAD_INODE_MARK, |
| 161 | "Illegal inode number passed to ext2fs_mark_inode_bitmap" |
| 162 | |
| 163 | ec EXT2_ET_BAD_INODE_UNMARK, |
| 164 | "Illegal inode number passed to ext2fs_unmark_inode_bitmap" |
| 165 | |
| 166 | ec EXT2_ET_BAD_INODE_TEST, |
| 167 | "Illegal inode number passed to ext2fs_test_inode_bitmap" |
| 168 | |
| 169 | ec EXT2_ET_FUDGE_BLOCK_BITMAP_END, |
| 170 | "Attempt to fudge end of block bitmap past the real end" |
| 171 | |
| 172 | ec EXT2_ET_FUDGE_INODE_BITMAP_END, |
| 173 | "Attempt to fudge end of inode bitmap past the real end" |
| 174 | |
| 175 | ec EXT2_ET_BAD_IND_BLOCK, |
| 176 | "Illegal indirect block found" |
| 177 | |
| 178 | ec EXT2_ET_BAD_DIND_BLOCK, |
| 179 | "Illegal doubly indirect block found" |
| 180 | |
| 181 | ec EXT2_ET_BAD_TIND_BLOCK, |
| 182 | "Illegal triply indirect block found" |
| 183 | |
| Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame^] | 184 | ec EXT2_ET_NEQ_BLOCK_BITMAP, |
| 185 | "Block bitmaps are not the same" |
| 186 | |
| 187 | ec EXT2_ET_NEQ_INODE_BITMAP, |
| 188 | "Inode bitmaps are not the same" |
| 189 | |
| 190 | ec EXT2_ET_BAD_DEVICE_NAME, |
| 191 | "Illegal or malformed device name" |
| 192 | |
| Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 193 | end |
| 194 | |