Coda Distributed File System
switchs2e.h
Go to the documentation of this file.
1// clang-format off
2/* This file was generated from errordb.txt at Thu Jan 10 15:42:30 EST 2019 */
3/* It translates from system (and Coda) errno values to error messages */
4
5/* Translations for common UNIX errno values */
6 case EPERM: txt = "Operation not permitted"; break;
7 case ENOENT: txt = "No such file or directory"; break;
8 case ESRCH: txt = "No such process"; break;
9 case EINTR: txt = "Interrupted system call"; break;
10 case EIO: txt = "Input/output error"; break;
11 case ENXIO: txt = "Device not configured"; break;
12 case E2BIG: txt = "Argument list too long"; break;
13 case ENOEXEC: txt = "Exec format error"; break;
14 case EBADF: txt = "Bad file descriptor"; break;
15 case ECHILD: txt = "No child processes"; break;
16 case EDEADLK: txt = "Resource deadlock avoided"; break;
17 case ENOMEM: txt = "Cannot allocate memory"; break;
18 case EACCES: txt = "Permission denied"; break;
19 case EFAULT: txt = "Bad address"; break;
20 case ENOTBLK: txt = "Not a block device"; break;
21 case EBUSY: txt = "Device busy"; break;
22 case EEXIST: txt = "File exists"; break;
23 case EXDEV: txt = "Cross-device link"; break;
24 case ENODEV: txt = "Operation not supported by device"; break;
25 case ENOTDIR: txt = "Not a directory"; break;
26 case EISDIR: txt = "Is a directory"; break;
27 case EINVAL: txt = "Invalid argument"; break;
28 case ENFILE: txt = "Too many open files in system"; break;
29 case EMFILE: txt = "Too many open files"; break;
30 case ENOTTY: txt = "Inappropriate ioctl for device"; break;
31 case ETXTBSY: txt = "Text file busy"; break;
32 case EFBIG: txt = "File too large"; break;
33 case ENOSPC: txt = "No space left on device"; break;
34 case ESPIPE: txt = "Illegal seek"; break;
35 case EROFS: txt = "Read-only file system"; break;
36 case EMLINK: txt = "Too many links"; break;
37 case EPIPE: txt = "Broken pipe"; break;
38 case EDOM: txt = "Numerical argument out of domain"; break;
39 case ERANGE: txt = "Result too large"; break;
40 case EAGAIN: txt = "Resource temporarily unavailable"; break;
41 case EALREADY: txt = "Operation already in progress"; break;
42 case ENOSYS: txt = "Function not implemented"; break;
43 case EPROTONOSUPPORT: txt = "Protocol not supported"; break;
44 case EOPNOTSUPP: txt = "Operation not supported"; break;
45 case ENOBUFS: txt = "No buffer space available"; break;
46 case ENOTCONN: txt = "Socket is not connected"; break;
47 case ESHUTDOWN: txt = "Can't send after socket shutdown"; break;
48 case ETOOMANYREFS: txt = "Too many references: can't splice"; break;
49 case ETIMEDOUT: txt = "Operation timed out"; break;
50 case ELOOP: txt = "Too many levels of symbolic links"; break;
51 case ENAMETOOLONG: txt = "File name too long"; break;
52 case ENOTEMPTY: txt = "Directory not empty"; break;
53 case EDQUOT: txt = "Disc quota exceeded"; break;
54
55/* Coda client <-> server specific errors */
56 case VSALVAGE: txt = "Volume needs salvage"; break;
57 case VNOVNODE: txt = "Bad vnode number quoted"; break;
58 case VNOVOL: txt = "Volume does not exist or not online"; break;
59 case VVOLEXISTS: txt = "Volume already exists"; break;
60 case VNOSERVICE: txt = "Volume is not in service"; break;
61 case VOFFLINE: txt = "Volume is off line"; break;
62 case VONLINE: txt = "Volume is already on line"; break;
63 case VBUSY: txt = "Volume temporarily unavailable"; break;
64 case VMOVED: txt = "Volume has moved"; break;
65 case VNOSERVER: txt = "File server lwp is not running"; break;
66 case VLOGSTALE: txt = "CML head previously reintegrated"; break;
67 case EVOLUME: txt = "Volume error"; break;
68 case EINCOMPATIBLE: txt = "Version vectors are incompatible"; break;
69 case EINCONS: txt = "File is inconsistent"; break;
70 case VFAIL: txt = "Unknown Coda error"; break;
71
72/* Advice monitor related errors, we should really not use these anymore */
73// #define CAEFAIL 300 /* Unknown error related to the Advice Monitor */
74// #define CAEVERSIONSKEW 301 /* Version skew between Venus and the Advice Monitor */
75 case CAENOSUCHUSER: txt = "Advice Monitor attempted to connect on behalf of an unknown user"; break;
76 case CAENOTVALID: txt = "Advice Monitor attempted to test liveness of an invalid connection"; break;
77 case CAENOASR: txt = "Advice Monitor returned the result of an ASR, but not ASR is pending"; break;
78 case CAEUNEXPECTEDASR: txt = "Advice Monitor returned the result of the wrong ASR"; break;
79// #define CAEASRINPROGRESS 306 /* Venus requested an ASR while another one is in progress */
80 case CAEADVICEPENDING: txt = "Advice Monitor requested a new connection while a request is pending"; break;
81 case CAENOSERVERS: txt = "No servers are known to Venus"; break;
case ETXTBSY
Definition: switchs2e.h:31
case EFAULT
Definition: switchs2e.h:19
case EMFILE
Definition: switchs2e.h:29
case ENOENT
Definition: switchs2e.h:7
case EVOLUME
Definition: switchs2e.h:67
case EIO
Definition: switchs2e.h:10
case EDQUOT
Definition: switchs2e.h:53
case CAENOSUCHUSER
Definition: switchs2e.h:75
case EPIPE
Definition: switchs2e.h:37
case EPERM
Definition: switchs2e.h:6
case EISDIR
Definition: switchs2e.h:26
case EXDEV
Definition: switchs2e.h:23
case EPROTONOSUPPORT
Definition: switchs2e.h:43
case VLOGSTALE
Definition: switchs2e.h:66
case ENFILE
Definition: switchs2e.h:28
case EDOM
Definition: switchs2e.h:38
case ENOTDIR
Definition: switchs2e.h:25
case ENAMETOOLONG
Definition: switchs2e.h:51
case ENOEXEC
Definition: switchs2e.h:13
case EMLINK
Definition: switchs2e.h:36
case ESHUTDOWN
Definition: switchs2e.h:47
case VSALVAGE
Definition: switchs2e.h:56
case ESRCH
Definition: switchs2e.h:8
case VNOSERVER
Definition: switchs2e.h:65
case EINVAL
Definition: switchs2e.h:27
case VMOVED
Definition: switchs2e.h:64
case EBUSY
Definition: switchs2e.h:21
case ESPIPE
Definition: switchs2e.h:34
case EBADF
Definition: switchs2e.h:14
case VONLINE
Definition: switchs2e.h:62
case VBUSY
Definition: switchs2e.h:63
case ENOTBLK
Definition: switchs2e.h:20
case ETIMEDOUT
Definition: switchs2e.h:49
case EACCES
Definition: switchs2e.h:18
case ENOSYS
Definition: switchs2e.h:42
case EOPNOTSUPP
Definition: switchs2e.h:44
case EINTR
Definition: switchs2e.h:9
case VFAIL
Definition: switchs2e.h:70
case CAENOASR
Definition: switchs2e.h:77
case E2BIG
Definition: switchs2e.h:12
case ERANGE
Definition: switchs2e.h:39
case VOFFLINE
Definition: switchs2e.h:61
case ENOTTY
Definition: switchs2e.h:30
case EDEADLK
Definition: switchs2e.h:16
case ENOTEMPTY
Definition: switchs2e.h:52
case CAENOSERVERS
Definition: switchs2e.h:81
case ENOSPC
Definition: switchs2e.h:33
case VVOLEXISTS
Definition: switchs2e.h:59
case EINCONS
Definition: switchs2e.h:69
case EEXIST
Definition: switchs2e.h:22
case EFBIG
Definition: switchs2e.h:32
case VNOSERVICE
Definition: switchs2e.h:60
case VNOVNODE
Definition: switchs2e.h:57
case EINCOMPATIBLE
Definition: switchs2e.h:68
case ENOBUFS
Definition: switchs2e.h:45
case CAEADVICEPENDING
Definition: switchs2e.h:80
case ENOTCONN
Definition: switchs2e.h:46
case ENOMEM
Definition: switchs2e.h:17
case EROFS
Definition: switchs2e.h:35
case EAGAIN
Definition: switchs2e.h:40
case ECHILD
Definition: switchs2e.h:15
case ENODEV
Definition: switchs2e.h:24
case EALREADY
Definition: switchs2e.h:41
case ENXIO
Definition: switchs2e.h:11
case CAEUNEXPECTEDASR
Definition: switchs2e.h:78
case ETOOMANYREFS
Definition: switchs2e.h:48
case ELOOP
Definition: switchs2e.h:50
case CAENOTVALID
Definition: switchs2e.h:76
case VNOVOL
Definition: switchs2e.h:58