• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_EXTENT_HANDLE,
66	"Wrong magic number for ext4 extent handle"
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 a block bitmap"
100
101ec	EXT2_ET_BLOCK_BITMAP_READ,
102	"Can't read a 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 to 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	"Tried to set block bmap with missing indirect block"
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
332ec	EXT2_ET_RO_BLOCK_ITERATE,
333	"Attempt to modify a block mapping via a read-only block iterator"
334
335ec	EXT2_ET_MAGIC_EXTENT_PATH,
336	"Wrong magic number for ext4 extent saved path"
337
338ec	EXT2_ET_MAGIC_GENERIC_BITMAP64,
339	"Wrong magic number for 64-bit generic bitmap"
340
341ec	EXT2_ET_MAGIC_BLOCK_BITMAP64,
342	"Wrong magic number for 64-bit block bitmap"
343
344ec	EXT2_ET_MAGIC_INODE_BITMAP64,
345	"Wrong magic number for 64-bit inode bitmap"
346
347ec	EXT2_ET_MAGIC_RESERVED_13,
348	"Wrong magic number --- RESERVED_13"
349
350ec	EXT2_ET_MAGIC_RESERVED_14,
351	"Wrong magic number --- RESERVED_14"
352
353ec	EXT2_ET_MAGIC_RESERVED_15,
354	"Wrong magic number --- RESERVED_15"
355
356ec	EXT2_ET_MAGIC_RESERVED_16,
357	"Wrong magic number --- RESERVED_16"
358
359ec	EXT2_ET_MAGIC_RESERVED_17,
360	"Wrong magic number --- RESERVED_17"
361
362ec	EXT2_ET_MAGIC_RESERVED_18,
363	"Wrong magic number --- RESERVED_18"
364
365ec	EXT2_ET_MAGIC_RESERVED_19,
366	"Wrong magic number --- RESERVED_19"
367
368ec	EXT2_ET_EXTENT_HEADER_BAD,
369	"Corrupt extent header"
370
371ec	EXT2_ET_EXTENT_INDEX_BAD,
372	"Corrupt extent index"
373
374ec	EXT2_ET_EXTENT_LEAF_BAD,
375	"Corrupt extent"
376
377ec	EXT2_ET_EXTENT_NO_SPACE,
378	"No free space in extent map"
379
380ec	EXT2_ET_INODE_NOT_EXTENT,
381	"Inode does not use extents"
382
383ec	EXT2_ET_EXTENT_NO_NEXT,
384	"No 'next' extent"
385
386ec	EXT2_ET_EXTENT_NO_PREV,
387	"No 'previous' extent"
388
389ec	EXT2_ET_EXTENT_NO_UP,
390	"No 'up' extent"
391
392ec	EXT2_ET_EXTENT_NO_DOWN,
393	"No 'down' extent"
394
395ec	EXT2_ET_NO_CURRENT_NODE,
396	"No current node"
397
398ec	EXT2_ET_OP_NOT_SUPPORTED,
399	"Ext2fs operation not supported"
400
401ec	EXT2_ET_CANT_INSERT_EXTENT,
402	"No room to insert extent in node"
403
404ec	EXT2_ET_CANT_SPLIT_EXTENT,
405	"Splitting would result in empty node"
406
407ec	EXT2_ET_EXTENT_NOT_FOUND,
408	"Extent not found"
409
410ec	EXT2_ET_EXTENT_NOT_SUPPORTED,
411	"Operation not supported for inodes containing extents"
412
413ec	EXT2_ET_EXTENT_INVALID_LENGTH,
414	"Extent length is invalid"
415
416ec	EXT2_ET_IO_CHANNEL_NO_SUPPORT_64,
417	"I/O Channel does not support 64-bit block numbers"
418
419ec	EXT2_ET_NO_MTAB_FILE,
420	"Can't check if filesystem is mounted due to missing mtab file"
421
422ec	EXT2_ET_CANT_USE_LEGACY_BITMAPS,
423	"Filesystem too large to use legacy bitmaps"
424
425ec	EXT2_ET_MMP_MAGIC_INVALID,
426	"MMP: invalid magic number"
427
428ec	EXT2_ET_MMP_FAILED,
429	"MMP: device currently active"
430
431ec	EXT2_ET_MMP_FSCK_ON,
432	"MMP: e2fsck being run"
433
434ec	EXT2_ET_MMP_BAD_BLOCK,
435	"MMP: block number beyond filesystem range"
436
437ec	EXT2_ET_MMP_UNKNOWN_SEQ,
438	"MMP: undergoing an unknown operation"
439
440ec	EXT2_ET_MMP_CHANGE_ABORT,
441	"MMP: filesystem still in use"
442
443ec	EXT2_ET_MMP_OPEN_DIRECT,
444	"MMP: open with O_DIRECT failed"
445
446ec	EXT2_ET_BAD_DESC_SIZE,
447	"Block group descriptor size incorrect"
448
449ec	EXT2_ET_INODE_CSUM_INVALID,
450	"Inode checksum does not match inode"
451
452ec	EXT2_ET_INODE_BITMAP_CSUM_INVALID,
453	"Inode bitmap checksum does not match bitmap"
454
455ec	EXT2_ET_EXTENT_CSUM_INVALID,
456	"Extent block checksum does not match extent block"
457
458ec	EXT2_ET_DIR_NO_SPACE_FOR_CSUM,
459	"Directory block does not have space for checksum"
460
461ec	EXT2_ET_DIR_CSUM_INVALID,
462	"Directory block checksum does not match directory block"
463
464ec	EXT2_ET_EXT_ATTR_CSUM_INVALID,
465	"Extended attribute block checksum does not match block"
466
467ec	EXT2_ET_SB_CSUM_INVALID,
468	"Superblock checksum does not match superblock"
469
470ec	EXT2_ET_UNKNOWN_CSUM,
471	"Unknown checksum algorithm"
472
473ec	EXT2_ET_MMP_CSUM_INVALID,
474	"MMP block checksum does not match"
475
476ec	EXT2_ET_FILE_EXISTS,
477	"Ext2 file already exists"
478
479ec	EXT2_ET_BLOCK_BITMAP_CSUM_INVALID,
480	"Block bitmap checksum does not match bitmap"
481
482ec	EXT2_ET_INLINE_DATA_CANT_ITERATE,
483	"Cannot iterate data blocks of an inode containing inline data"
484
485ec	EXT2_ET_EA_BAD_NAME_LEN,
486	"Extended attribute has an invalid name length"
487
488ec	EXT2_ET_EA_BAD_VALUE_SIZE,
489	"Extended attribute has an invalid value length"
490
491ec	EXT2_ET_BAD_EA_HASH,
492	"Extended attribute has an incorrect hash"
493
494ec	EXT2_ET_BAD_EA_HEADER,
495	"Extended attribute block has a bad header"
496
497ec	EXT2_ET_EA_KEY_NOT_FOUND,
498	"Extended attribute key not found"
499
500ec	EXT2_ET_EA_NO_SPACE,
501	"Insufficient space to store extended attribute data"
502
503ec	EXT2_ET_MISSING_EA_FEATURE,
504	"Filesystem is missing ext_attr or inline_data feature"
505
506ec	EXT2_ET_NO_INLINE_DATA,
507	"Inode doesn't have inline data"
508
509ec	EXT2_ET_INLINE_DATA_NO_BLOCK,
510	"No block for an inode with inline data"
511
512ec	EXT2_ET_INLINE_DATA_NO_SPACE,
513	"No free space in inline data"
514
515ec	EXT2_ET_MAGIC_EA_HANDLE,
516	"Wrong magic number for extended attribute structure"
517
518ec	EXT2_ET_INODE_IS_GARBAGE,
519	"Inode seems to contain garbage"
520
521ec	EXT2_ET_EA_BAD_VALUE_OFFSET,
522	"Extended attribute has an invalid value offset"
523
524ec	EXT2_ET_JOURNAL_FLAGS_WRONG,
525	"Journal flags inconsistent"
526
527ec	EXT2_ET_UNDO_FILE_CORRUPT,
528	"Undo file corrupt"
529
530ec	EXT2_ET_UNDO_FILE_WRONG,
531	"Wrong undo file for this filesystem"
532
533ec	EXT2_ET_FILESYSTEM_CORRUPTED,
534	"File system is corrupted"
535
536ec	EXT2_ET_BAD_CRC,
537	"Bad CRC detected in file system"
538
539ec	EXT2_ET_CORRUPT_JOURNAL_SB,
540	"The journal superblock is corrupt"
541
542ec	EXT2_ET_INODE_CORRUPTED,
543	"Inode is corrupted"
544
545ec	EXT2_ET_EA_INODE_CORRUPTED,
546	"Inode containing extended attribute value is corrupted"
547
548	end
549