Blob


1 #include "stdinc.h"
2 #include "dat.h"
3 #include "fns.h"
4 #include "error.h"
6 char EBadAddr[] = "illegal block address";
7 char EBadDir[] = "corrupted directory entry";
8 char EBadEntry[] = "corrupted file entry";
9 char EBadLabel[] = "corrupted block label";
10 char EBadMeta[] = "corrupted meta data";
11 char EBadMode[] = "illegal mode";
12 char EBadOffset[] = "illegal offset";
13 char EBadPath[] = "illegal path element";
14 char EBadRoot[] = "root of file system is corrupted";
15 char EBadSuper[] = "corrupted super block";
16 char EBlockTooBig[] = "block too big";
17 char ECacheFull[] = "no free blocks in memory cache";
18 char EConvert[] = "protocol botch";
19 char EExists[] = "file already exists";
20 char EFsFill[] = "file system is full";
21 char EIO[] = "i/o error";
22 char EInUse[] = "file is in use";
23 char ELabelMismatch[] = "block label mismatch";
24 char ENilBlock[] = "illegal block address";
25 char ENoDir[] = "directory entry is not allocated";
26 char ENoFile[] = "file does not exist";
27 char ENotDir[] = "not a directory";
28 char ENotEmpty[] = "directory not empty";
29 char ENotFile[] = "not a file";
30 char EReadOnly[] = "file is read only";
31 char ERemoved[] = "file has been removed";
32 char ENotArchived[] = "file is not archived";
33 char EResize[] = "only support truncation to zero length";
34 char ERoot[] = "cannot remove root";
35 char ESnapOld[] = "snapshot has been deleted";
36 char ESnapRO[] = "snapshot is read only";
37 char ETooBig[] = "file too big";
38 char EVentiIO[] = "venti i/o error";