blob: c22e5d8614e0a6e34609035d7db91ada7bf1caf0 [file] [log] [blame]
Theodore Ts'o3839e651997-04-26 13:21:57 +00001#
Theodore Ts'o19c78dc1997-04-29 16:17:09 +00002# 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'o3839e651997-04-26 13:21:57 +00008#
9 error_table ext2
10
11ec EXT2_ET_BASE,
Theodore Ts'o74becf31997-04-26 14:37:06 +000012 "EXT2FS Library version @E2FSPROGS_VERSION@"
Theodore Ts'of3db3561997-04-26 13:34:30 +000013
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
Theodore Ts'o1e3472c1997-04-29 14:53:37 +000041ec EXT2_ET_MAGIC_GENERIC_BITMAP,
42 "Wrong magic number for generic_bitmap structure"
Theodore Ts'of3db3561997-04-26 13:34:30 +000043
Theodore Ts'o19c78dc1997-04-29 16:17:09 +000044ec EXT2_ET_MAGIC_TEST_IO_CHANNEL,
45 "Wrong magic number for test io_channel structure"
Theodore Ts'of3db3561997-04-26 13:34:30 +000046
Theodore Ts'o19c78dc1997-04-29 16:17:09 +000047ec EXT2_ET_MAGIC_DBLIST,
48 "Wrong magic number for directory block list structure"
Theodore Ts'of3db3561997-04-26 13:34:30 +000049
Theodore Ts'o19c78dc1997-04-29 16:17:09 +000050ec EXT2_ET_MAGIC_ICOUNT,
51 "Wrong magic number for icount structure"
Theodore Ts'of3db3561997-04-26 13:34:30 +000052
Theodore Ts'o71b97141997-10-25 04:19:14 +000053ec EXT2_ET_MAGIC_PQ_IO_CHANNEL,
54 "Wrong magic number for Powerquest io_channel structure"
Theodore Ts'of3db3561997-04-26 13:34:30 +000055
Theodore Ts'o30fab291997-10-25 22:37:42 +000056ec EXT2_ET_MAGIC_EXT2_FILE,
57 "Wrong magic number for ext2 file structure"
Theodore Ts'of3db3561997-04-26 13:34:30 +000058
Theodore Ts'o72ed1262000-11-12 19:32:20 +000059ec EXT2_ET_MAGIC_E2IMAGE,
60 "Wrong magic number for Ext2 Image Header"
Theodore Ts'of3db3561997-04-26 13:34:30 +000061
Theodore Ts'of12e2852002-02-20 01:06:25 -050062ec EXT2_ET_MAGIC_INODE_IO_CHANNEL,
63 "Wrong magic number for inode io_channel structure"
Theodore Ts'of3db3561997-04-26 13:34:30 +000064
65ec EXT2_ET_MAGIC_RESERVED_9,
66 "Wrong magic number --- RESERVED_9"
Theodore Ts'o3839e651997-04-26 13:21:57 +000067
68ec EXT2_ET_BAD_MAGIC,
69 "Bad magic number in super-block"
70
Theodore Ts'of3db3561997-04-26 13:34:30 +000071ec EXT2_ET_REV_TOO_HIGH,
72 "Filesystem revision too high"
73
Theodore Ts'o3839e651997-04-26 13:21:57 +000074ec 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,
Theodore Ts'o78d8f901997-10-26 01:53:39 +0000132 "Block bitmap not loaded"
Theodore Ts'o3839e651997-04-26 13:21:57 +0000133
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
Theodore Ts'of3db3561997-04-26 13:34:30 +0000146ec 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
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000179ec 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
Theodore Ts'o7f88b041997-04-26 14:48:50 +0000188ec EXT2_ET_MISSING_INODE_TABLE,
Theodore Ts'o1e3472c1997-04-29 14:53:37 +0000189 "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"
Theodore Ts'o7f88b041997-04-26 14:48:50 +0000208
Theodore Ts'o19c78dc1997-04-29 16:17:09 +0000209ec 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
Theodore Ts'o291c9041997-10-31 06:17:08 +0000218ec EXT2_ET_LLSEEK_FAILED,
Theodore Ts'oa1230b11997-07-02 02:41:59 +0000219 "IO Channel failed to seek on read or write"
220
Theodore Ts'o291c9041997-10-31 06:17:08 +0000221ec EXT2_ET_NO_MEMORY,
Theodore Ts'o71b97141997-10-25 04:19:14 +0000222 "Memory allocation failed"
223
Theodore Ts'o291c9041997-10-31 06:17:08 +0000224ec EXT2_ET_INVALID_ARGUMENT,
Theodore Ts'o71b97141997-10-25 04:19:14 +0000225 "Invalid argument passed to ext2 library"
226
Theodore Ts'o291c9041997-10-31 06:17:08 +0000227ec EXT2_ET_BLOCK_ALLOC_FAIL,
Theodore Ts'o71b97141997-10-25 04:19:14 +0000228 "Could not allocate block in ext2 filesystem"
229
Theodore Ts'o291c9041997-10-31 06:17:08 +0000230ec EXT2_ET_INODE_ALLOC_FAIL,
Theodore Ts'o71b97141997-10-25 04:19:14 +0000231 "Could not allocate inode in ext2 filesystem"
232
Theodore Ts'o291c9041997-10-31 06:17:08 +0000233ec EXT2_ET_NO_DIRECTORY,
Theodore Ts'o71b97141997-10-25 04:19:14 +0000234 "Ext2 inode is not a directory"
235
Theodore Ts'o291c9041997-10-31 06:17:08 +0000236ec EXT2_ET_TOO_MANY_REFS,
Theodore Ts'o71b97141997-10-25 04:19:14 +0000237 "Too many references in table"
238
Theodore Ts'o291c9041997-10-31 06:17:08 +0000239ec EXT2_ET_FILE_NOT_FOUND,
Theodore Ts'o71b97141997-10-25 04:19:14 +0000240 "File not found by ext2_lookup"
241
Theodore Ts'o291c9041997-10-31 06:17:08 +0000242ec EXT2_ET_FILE_RO,
Theodore Ts'o30fab291997-10-25 22:37:42 +0000243 "File open read-only"
244
Theodore Ts'o291c9041997-10-31 06:17:08 +0000245ec EXT2_ET_DB_NOT_FOUND,
Theodore Ts'o78d8f901997-10-26 01:53:39 +0000246 "Ext2 directory block not found"
247
Theodore Ts'o291c9041997-10-31 06:17:08 +0000248ec EXT2_ET_DIR_EXISTS,
Theodore Ts'o78d8f901997-10-26 01:53:39 +0000249 "Ext2 directory already exists"
250
Theodore Ts'od36d8351997-11-12 03:48:07 +0000251ec EXT2_ET_UNIMPLEMENTED,
252 "Unimplemented ext2 library function"
253
Theodore Ts'oc7752561998-02-24 04:25:52 +0000254ec EXT2_ET_CANCEL_REQUESTED,
255 "User cancel requested"
256
Theodore Ts'o674a4ee1998-03-23 02:06:52 +0000257ec EXT2_ET_FILE_TOO_BIG,
258 "Ext2 file too big"
259
Theodore Ts'o03603942001-04-17 00:53:25 +0000260ec EXT2_ET_JOURNAL_NOT_BLOCK,
Theodore Ts'od3cd93c2000-10-24 18:33:16 +0000261 "Supplied journal device not a block device"
262
Theodore Ts'o03603942001-04-17 00:53:25 +0000263ec EXT2_ET_NO_JOURNAL_SB,
Theodore Ts'oa1128472001-01-16 06:56:14 +0000264 "Journal superblock not found"
265
Theodore Ts'o03603942001-04-17 00:53:25 +0000266ec EXT2_ET_JOURNAL_TOO_SMALL,
267 "Journal must be at least 1024 blocks"
268
Theodore Ts'o4ed8ebe2001-05-23 18:30:10 +0000269ec EXT2_ET_JOURNAL_UNSUPP_VERSION,
270 "Unsupported journal version"
271
Theodore Ts'oadee8d72001-07-23 00:17:49 -0400272ec EXT2_ET_LOAD_EXT_JOURNAL,
273 "Error loading external journal"
274
Theodore Ts'of12e2852002-02-20 01:06:25 -0500275ec EXT2_ET_NO_JOURNAL,
276 "Journal not found"
277
Theodore Ts'o52783e02002-03-11 15:04:45 -0500278ec EXT2_ET_DIRHASH_UNSUPP,
279 "Directory hash unsupported"
280
Theodore Ts'o3839e651997-04-26 13:21:57 +0000281 end
Theodore Ts'o291c9041997-10-31 06:17:08 +0000282