| Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 1 | # |
| Theodore Ts'o | 19c78dc | 1997-04-29 16:17:09 +0000 | [diff] [blame] | 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% |
| Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 8 | # |
| 9 | error_table ext2 |
| 10 | |
| 11 | ec EXT2_ET_BASE, |
| Theodore Ts'o | 74becf3 | 1997-04-26 14:37:06 +0000 | [diff] [blame] | 12 | "EXT2FS Library version @E2FSPROGS_VERSION@" |
| Theodore Ts'o | f3db356 | 1997-04-26 13:34:30 +0000 | [diff] [blame] | 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 | |
| Theodore Ts'o | 1e3472c | 1997-04-29 14:53:37 +0000 | [diff] [blame] | 41 | ec EXT2_ET_MAGIC_GENERIC_BITMAP, |
| 42 | "Wrong magic number for generic_bitmap structure" |
| Theodore Ts'o | f3db356 | 1997-04-26 13:34:30 +0000 | [diff] [blame] | 43 | |
| Theodore Ts'o | 19c78dc | 1997-04-29 16:17:09 +0000 | [diff] [blame] | 44 | ec EXT2_ET_MAGIC_TEST_IO_CHANNEL, |
| 45 | "Wrong magic number for test io_channel structure" |
| Theodore Ts'o | f3db356 | 1997-04-26 13:34:30 +0000 | [diff] [blame] | 46 | |
| Theodore Ts'o | 19c78dc | 1997-04-29 16:17:09 +0000 | [diff] [blame] | 47 | ec EXT2_ET_MAGIC_DBLIST, |
| 48 | "Wrong magic number for directory block list structure" |
| Theodore Ts'o | f3db356 | 1997-04-26 13:34:30 +0000 | [diff] [blame] | 49 | |
| Theodore Ts'o | 19c78dc | 1997-04-29 16:17:09 +0000 | [diff] [blame] | 50 | ec EXT2_ET_MAGIC_ICOUNT, |
| 51 | "Wrong magic number for icount structure" |
| Theodore Ts'o | f3db356 | 1997-04-26 13:34:30 +0000 | [diff] [blame] | 52 | |
| Theodore Ts'o | 71b9714 | 1997-10-25 04:19:14 +0000 | [diff] [blame] | 53 | ec EXT2_ET_MAGIC_PQ_IO_CHANNEL, |
| 54 | "Wrong magic number for Powerquest io_channel structure" |
| Theodore Ts'o | f3db356 | 1997-04-26 13:34:30 +0000 | [diff] [blame] | 55 | |
| Theodore Ts'o | 30fab29 | 1997-10-25 22:37:42 +0000 | [diff] [blame^] | 56 | ec EXT2_ET_MAGIC_EXT2_FILE, |
| 57 | "Wrong magic number for ext2 file structure" |
| Theodore Ts'o | f3db356 | 1997-04-26 13:34:30 +0000 | [diff] [blame] | 58 | |
| 59 | ec EXT2_ET_MAGIC_RESERVED_7, |
| 60 | "Wrong magic number --- RESERVED_7" |
| 61 | |
| 62 | ec EXT2_ET_MAGIC_RESERVED_8, |
| 63 | "Wrong magic number --- RESERVED_8" |
| 64 | |
| 65 | ec EXT2_ET_MAGIC_RESERVED_9, |
| 66 | "Wrong magic number --- RESERVED_9" |
| Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 67 | |
| 68 | ec EXT2_ET_BAD_MAGIC, |
| 69 | "Bad magic number in super-block" |
| 70 | |
| Theodore Ts'o | f3db356 | 1997-04-26 13:34:30 +0000 | [diff] [blame] | 71 | ec EXT2_ET_REV_TOO_HIGH, |
| 72 | "Filesystem revision too high" |
| 73 | |
| Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 74 | ec EXT2_ET_SB_LSEEK, |
| 75 | "Can't seek to superblock" |
| 76 | |
| 77 | ec EXT2_ET_SB_READ, |
| 78 | "Can't read superblock" |
| 79 | |
| 80 | ec EXT2_ET_SB_WRITE, |
| 81 | "Can't write superblock" |
| 82 | |
| 83 | ec EXT2_ET_RO_FILSYS, |
| 84 | "Attempt to write to filesystem opened read-only" |
| 85 | |
| 86 | ec EXT2_ET_GDESC_READ, |
| 87 | "Can't read group descriptors" |
| 88 | |
| 89 | ec EXT2_ET_GDESC_WRITE, |
| 90 | "Can't write group descriptors" |
| 91 | |
| 92 | ec EXT2_ET_GDESC_BAD_BLOCK_MAP, |
| 93 | "Corrupt group descriptor: bad block for block bitmap" |
| 94 | |
| 95 | ec EXT2_ET_GDESC_BAD_INODE_MAP, |
| 96 | "Corrupt group descriptor: bad block for inode bitmap" |
| 97 | |
| 98 | ec EXT2_ET_GDESC_BAD_INODE_TABLE, |
| 99 | "Corrupt group descriptor: bad block for inode table" |
| 100 | |
| 101 | ec EXT2_ET_INODE_BITMAP_WRITE, |
| 102 | "Can't write an inode bitmap" |
| 103 | |
| 104 | ec EXT2_ET_INODE_BITMAP_READ, |
| 105 | "Can't read an inode bitmap" |
| 106 | |
| 107 | ec EXT2_ET_BLOCK_BITMAP_WRITE, |
| 108 | "Can't write an block bitmap" |
| 109 | |
| 110 | ec EXT2_ET_BLOCK_BITMAP_READ, |
| 111 | "Can't read an block bitmap" |
| 112 | |
| 113 | ec EXT2_ET_INODE_TABLE_WRITE, |
| 114 | "Can't write an inode table" |
| 115 | |
| 116 | ec EXT2_ET_INODE_TABLE_READ, |
| 117 | "Can't read an inode table" |
| 118 | |
| 119 | ec EXT2_ET_NEXT_INODE_READ, |
| 120 | "Can't read next inode" |
| 121 | |
| 122 | ec EXT2_ET_UNEXPECTED_BLOCK_SIZE, |
| 123 | "Filesystem has unexpected block size" |
| 124 | |
| 125 | ec EXT2_ET_DIR_CORRUPTED, |
| 126 | "EXT2 directory corrupted" |
| 127 | |
| 128 | ec EXT2_ET_SHORT_READ, |
| 129 | "Attempt to read block from filesystem resulted in short read" |
| 130 | |
| 131 | ec EXT2_ET_SHORT_WRITE, |
| 132 | "Attempt to write block from filesystem resulted in short write" |
| 133 | |
| 134 | ec EXT2_ET_DIR_NO_SPACE, |
| 135 | "No free space in the directory" |
| 136 | |
| 137 | ec EXT2_ET_NO_INODE_BITMAP, |
| 138 | "Inode bitmap not loaded" |
| 139 | |
| 140 | ec EXT2_ET_NO_BLOCK_BITMAP, |
| 141 | "BLOCK bitmap not loaded" |
| 142 | |
| 143 | ec EXT2_ET_BAD_INODE_NUM, |
| 144 | "Illegal inode number" |
| 145 | |
| 146 | ec EXT2_ET_BAD_BLOCK_NUM, |
| 147 | "Illegal block number" |
| 148 | |
| 149 | ec EXT2_ET_EXPAND_DIR_ERR, |
| 150 | "Internal error in ext2fs_expand_dir" |
| 151 | |
| 152 | ec EXT2_ET_TOOSMALL, |
| 153 | "Not enough space to build proposed filesystem" |
| 154 | |
| Theodore Ts'o | f3db356 | 1997-04-26 13:34:30 +0000 | [diff] [blame] | 155 | ec EXT2_ET_BAD_BLOCK_MARK, |
| 156 | "Illegal block number passed to ext2fs_mark_block_bitmap" |
| 157 | |
| 158 | ec EXT2_ET_BAD_BLOCK_UNMARK, |
| 159 | "Illegal block number passed to ext2fs_unmark_block_bitmap" |
| 160 | |
| 161 | ec EXT2_ET_BAD_BLOCK_TEST, |
| 162 | "Illegal block number passed to ext2fs_test_block_bitmap" |
| 163 | |
| 164 | ec EXT2_ET_BAD_INODE_MARK, |
| 165 | "Illegal inode number passed to ext2fs_mark_inode_bitmap" |
| 166 | |
| 167 | ec EXT2_ET_BAD_INODE_UNMARK, |
| 168 | "Illegal inode number passed to ext2fs_unmark_inode_bitmap" |
| 169 | |
| 170 | ec EXT2_ET_BAD_INODE_TEST, |
| 171 | "Illegal inode number passed to ext2fs_test_inode_bitmap" |
| 172 | |
| 173 | ec EXT2_ET_FUDGE_BLOCK_BITMAP_END, |
| 174 | "Attempt to fudge end of block bitmap past the real end" |
| 175 | |
| 176 | ec EXT2_ET_FUDGE_INODE_BITMAP_END, |
| 177 | "Attempt to fudge end of inode bitmap past the real end" |
| 178 | |
| 179 | ec EXT2_ET_BAD_IND_BLOCK, |
| 180 | "Illegal indirect block found" |
| 181 | |
| 182 | ec EXT2_ET_BAD_DIND_BLOCK, |
| 183 | "Illegal doubly indirect block found" |
| 184 | |
| 185 | ec EXT2_ET_BAD_TIND_BLOCK, |
| 186 | "Illegal triply indirect block found" |
| 187 | |
| Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 188 | ec EXT2_ET_NEQ_BLOCK_BITMAP, |
| 189 | "Block bitmaps are not the same" |
| 190 | |
| 191 | ec EXT2_ET_NEQ_INODE_BITMAP, |
| 192 | "Inode bitmaps are not the same" |
| 193 | |
| 194 | ec EXT2_ET_BAD_DEVICE_NAME, |
| 195 | "Illegal or malformed device name" |
| 196 | |
| Theodore Ts'o | 7f88b04 | 1997-04-26 14:48:50 +0000 | [diff] [blame] | 197 | ec EXT2_ET_MISSING_INODE_TABLE, |
| Theodore Ts'o | 1e3472c | 1997-04-29 14:53:37 +0000 | [diff] [blame] | 198 | "A block group is missing an inode table" |
| 199 | |
| 200 | ec EXT2_ET_CORRUPT_SUPERBLOCK, |
| 201 | "The ext2 superblock is corrupt" |
| 202 | |
| 203 | ec EXT2_ET_BAD_GENERIC_MARK, |
| 204 | "Illegal generic bit number passed to ext2fs_mark_generic_bitmap" |
| 205 | |
| 206 | ec EXT2_ET_BAD_GENERIC_UNMARK, |
| 207 | "Illegal generic bit number passed to ext2fs_unmark_generic_bitmap" |
| 208 | |
| 209 | ec EXT2_ET_BAD_GENERIC_TEST, |
| 210 | "Illegal generic bit number passed to ext2fs_test_generic_bitmap" |
| 211 | |
| 212 | ec EXT2_ET_SYMLINK_LOOP, |
| 213 | "Too many symbolic links encountered." |
| 214 | |
| 215 | ec EXT2_ET_CALLBACK_NOTHANDLED, |
| 216 | "The callback function will not handle this case" |
| Theodore Ts'o | 7f88b04 | 1997-04-26 14:48:50 +0000 | [diff] [blame] | 217 | |
| Theodore Ts'o | 19c78dc | 1997-04-29 16:17:09 +0000 | [diff] [blame] | 218 | ec EXT2_ET_BAD_BLOCK_IN_INODE_TABLE, |
| 219 | "The inode is from a bad block in the inode table" |
| 220 | |
| 221 | ec EXT2_ET_UNSUPP_FEATURE, |
| 222 | "Filesystem has unsupported feature(s)" |
| 223 | |
| 224 | ec EXT2_ET_RO_UNSUPP_FEATURE, |
| 225 | "Filesystem has unsupported read-only feature(s)" |
| 226 | |
| Theodore Ts'o | a1230b1 | 1997-07-02 02:41:59 +0000 | [diff] [blame] | 227 | ec EXT2_IO_LLSEEK_FAILED, |
| 228 | "IO Channel failed to seek on read or write" |
| 229 | |
| Theodore Ts'o | 71b9714 | 1997-10-25 04:19:14 +0000 | [diff] [blame] | 230 | ec EXT2_NO_MEMORY, |
| 231 | "Memory allocation failed" |
| 232 | |
| 233 | ec EXT2_INVALID_ARGUMENT, |
| 234 | "Invalid argument passed to ext2 library" |
| 235 | |
| 236 | ec EXT2_BLOCK_ALLOC_FAIL, |
| 237 | "Could not allocate block in ext2 filesystem" |
| 238 | |
| 239 | ec EXT2_INODE_ALLOC_FAIL, |
| 240 | "Could not allocate inode in ext2 filesystem" |
| 241 | |
| 242 | ec EXT2_NO_DIRECTORY, |
| 243 | "Ext2 inode is not a directory" |
| 244 | |
| 245 | ec EXT2_TOO_MANY_REFS, |
| 246 | "Too many references in table" |
| 247 | |
| 248 | ec EXT2_FILE_NOT_FOUND, |
| 249 | "File not found by ext2_lookup" |
| 250 | |
| Theodore Ts'o | 30fab29 | 1997-10-25 22:37:42 +0000 | [diff] [blame^] | 251 | ec EXT2_FILE_RO, |
| 252 | "File open read-only" |
| 253 | |
| Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 254 | end |