. service tells you which device it couldn't stat
[minix3.git] / servers / mfs / table.c
blob9a5a8f2437ed5e82f2a41c18680c448f4de233fe
2 /* This file contains the table used to map system call numbers onto the
3 * routines that perform them.
4 */
6 #define _TABLE
8 #include "fs.h"
9 #include <minix/callnr.h>
10 #include <minix/com.h>
11 #include "inode.h"
12 #include "buf.h"
13 #include "super.h"
14 #include "drivers.h"
16 PUBLIC _PROTOTYPE (int (*fs_call_vec[]), (void) ) = {
17 no_sys, /* 0 not used */
18 fs_getnode, /* 1 */
19 fs_putnode, /* 2 */
20 fs_open, /* 3 */
21 fs_pipe, /* 4 */
22 fs_readwrite, /* 5 */ /* read() */
23 fs_readwrite, /* 6 */ /* write() */
24 fs_clone_opcl, /* 7 */
25 fs_ftrunc, /* 8 */
27 fs_chown, /* 9 */
28 fs_chmod, /* 10 */
29 fs_access, /* 11 */
30 fs_mknod, /* 12 */
31 fs_mkdir, /* 13 */
32 fs_inhibread, /* 14 */ /* for lseek() */
33 fs_stat, /* 15 */
34 fs_create, /* 16 */
35 fs_unlink, /* 17 */ /* unlink() */
36 fs_unlink, /* 18 */ /* rmdir() */
37 fs_utime, /* 19 */
38 no_sys, /* 20 */
39 fs_fstatfs, /* 21 */
40 no_sys, /* 22 */
41 no_sys, /* 23 */
42 no_sys, /* 24 */
43 fs_link, /* 25 */
45 fs_slink, /* 26 */
46 fs_rdlink, /* 27 */
48 fs_rename, /* 28 */
49 no_sys, /* 29 */
50 fs_mountpoint, /* 30 */
51 fs_readsuper, /* 31 */
52 fs_unmount, /* 32 */
53 fs_trunc, /* 33 */
54 fs_sync, /* 34 */
55 lookup, /* 35 */
56 fs_stime, /* 36 */
57 fs_new_driver, /* 37 */
58 fs_breadwrite, /* 38 */
59 fs_breadwrite, /* 39 */
60 fs_getdents, /* 40 */
61 fs_flush, /* 41 */