Commit | Line | Data |
---|---|---|
d848bc15 KM |
1 | /* |
2 | * $Id: fstype.h,v 5.2 90/06/23 22:20:30 jsp Rel $ | |
3 | * | |
4 | * Copyright (c) 1989 Jan-Simon Pendry | |
5 | * Copyright (c) 1989 Imperial College of Science, Technology & Medicine | |
6 | * Copyright (c) 1989 The Regents of the University of California. | |
7 | * All rights reserved. | |
8 | * | |
9 | * This code is derived from software contributed to Berkeley by | |
10 | * Jan-Simon Pendry at Imperial College, London. | |
11 | * | |
1c15e888 C |
12 | * Redistribution and use in source and binary forms are permitted provided |
13 | * that: (1) source distributions retain this entire copyright notice and | |
14 | * comment, and (2) distributions including binaries display the following | |
15 | * acknowledgement: ``This product includes software developed by the | |
16 | * University of California, Berkeley and its contributors'' in the | |
17 | * documentation or other materials provided with the distribution and in | |
18 | * all advertising materials mentioning features or use of this software. | |
19 | * Neither the name of the University nor the names of its contributors may | |
20 | * be used to endorse or promote products derived from this software without | |
21 | * specific prior written permission. | |
22 | * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED | |
23 | * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF | |
24 | * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | |
d848bc15 | 25 | * |
1c15e888 | 26 | * @(#)fstype.h 5.1 (Berkeley) 7/19/90 |
d848bc15 KM |
27 | */ |
28 | ||
29 | /* | |
30 | * File system types | |
31 | */ | |
32 | ||
33 | /* | |
34 | * Automount File System | |
35 | */ | |
36 | #define HAS_AFS | |
37 | extern am_ops afs_ops; /* Automount file system (this!) */ | |
38 | extern qelem afs_srvr_list; | |
39 | extern fserver *find_afs_srvr P((mntfs*)); | |
40 | ||
41 | ||
42 | /* | |
43 | * Direct Automount File System | |
44 | */ | |
45 | #define HAS_DFS | |
46 | extern am_ops dfs_ops; /* Direct Automount file system (this too) */ | |
47 | ||
48 | /* | |
49 | * Error File System | |
50 | */ | |
51 | #define HAS_EFS | |
52 | extern am_ops efs_ops; /* Error file system */ | |
53 | ||
54 | /* | |
55 | * Inheritance File System | |
56 | */ | |
57 | #define HAS_IFS | |
58 | extern am_ops ifs_ops; /* Inheritance file system */ | |
59 | ||
60 | /* | |
61 | * Loopback File System | |
62 | * LOFS is optional - you can compile without it. | |
63 | */ | |
64 | #ifdef OS_HAS_LOFS | |
65 | /* | |
66 | * Most systems can't support this, and in | |
67 | * any case most of the functionality is | |
68 | * available with Symlink FS. In fact, | |
69 | * lofs_ops is not yet available. | |
70 | */ | |
71 | #define HAS_LOFS | |
72 | extern am_ops lofs_ops; | |
73 | #endif | |
74 | ||
75 | /* | |
76 | * Netw*rk File System | |
77 | * Good, slow, NFS. | |
78 | * NFS host - a whole tree | |
79 | */ | |
80 | #define HAS_NFS | |
81 | #define HAS_HOST | |
82 | extern am_ops nfs_ops; /* NFS */ | |
83 | extern am_ops host_ops; /* NFS host */ | |
84 | #ifdef HOST_EXEC | |
85 | extern char *host_helper; /* "/usr/local/etc/amd-host" */ | |
86 | #endif | |
87 | extern qelem nfs_srvr_list; | |
88 | extern fserver *find_nfs_srvr P((mntfs*)); | |
89 | ||
90 | /* | |
91 | * Program File System | |
92 | * PFS is optional - you can compile without it. | |
93 | * This is useful for things like RVD. | |
94 | */ | |
95 | #define HAS_PFS | |
96 | extern am_ops pfs_ops; /* PFS */ | |
97 | ||
98 | /* | |
99 | * Translucent File System | |
100 | * TFS is optional - you can compile without it. | |
101 | * This is just plain cute. | |
102 | */ | |
103 | #ifdef notdef | |
104 | extern am_ops tfs_ops; /* TFS */ | |
105 | #endif | |
106 | #undef HAS_TFS | |
107 | ||
108 | /* | |
109 | * Un*x File System | |
110 | * Normal local disk file system. | |
111 | */ | |
112 | #define HAS_UFS | |
113 | extern am_ops ufs_ops; /* Un*x file system */ | |
114 | ||
115 | /* | |
116 | * Symbolic-link file system | |
117 | * A "filesystem" which is just a symbol link. | |
118 | */ | |
119 | #define HAS_SFS | |
120 | extern am_ops sfs_ops; /* Symlink FS */ |