Blame


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