xref: /original-bsd/usr.sbin/amd/include/fstype.h (revision 5429b474)
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  *
12  * %sccs.include.redist.c%
13  *
14  *	@(#)fstype.h	5.1 (Berkeley) 07/19/90
15  */
16 
17 /*
18  * File system types
19  */
20 
21 /*
22  * Automount File System
23  */
24 #define HAS_AFS
25 extern am_ops	afs_ops;	/* Automount file system (this!) */
26 extern qelem	afs_srvr_list;
27 extern fserver *find_afs_srvr P((mntfs*));
28 
29 
30 /*
31  * Direct Automount File System
32  */
33 #define	HAS_DFS
34 extern am_ops	dfs_ops;	/* Direct Automount file system (this too) */
35 
36 /*
37  * Error File System
38  */
39 #define HAS_EFS
40 extern am_ops	efs_ops;	/* Error file system */
41 
42 /*
43  * Inheritance File System
44  */
45 #define HAS_IFS
46 extern am_ops	ifs_ops;	/* Inheritance file system */
47 
48 /*
49  * Loopback File System
50  * LOFS is optional - you can compile without it.
51  */
52 #ifdef OS_HAS_LOFS
53 /*
54  * Most systems can't support this, and in
55  * any case most of the functionality is
56  * available with Symlink FS.  In fact,
57  * lofs_ops is not yet available.
58  */
59 #define HAS_LOFS
60 extern am_ops lofs_ops;
61 #endif
62 
63 /*
64  * Netw*rk File System
65  * Good, slow, NFS.
66  * NFS host - a whole tree
67  */
68 #define HAS_NFS
69 #define	HAS_HOST
70 extern am_ops	nfs_ops;	/* NFS */
71 extern am_ops	host_ops;	/* NFS host */
72 #ifdef HOST_EXEC
73 extern char	*host_helper;	/* "/usr/local/etc/amd-host" */
74 #endif
75 extern qelem	nfs_srvr_list;
76 extern fserver *find_nfs_srvr P((mntfs*));
77 
78 /*
79  * Program File System
80  * PFS is optional - you can compile without it.
81  * This is useful for things like RVD.
82  */
83 #define HAS_PFS
84 extern am_ops	pfs_ops;	/* PFS */
85 
86 /*
87  * Translucent File System
88  * TFS is optional - you can compile without it.
89  * This is just plain cute.
90  */
91 #ifdef notdef
92 extern am_ops	tfs_ops;	/* TFS */
93 #endif
94 #undef	HAS_TFS
95 
96 /*
97  * Un*x File System
98  * Normal local disk file system.
99  */
100 #define HAS_UFS
101 extern am_ops	ufs_ops;	/* Un*x file system */
102 
103 /*
104  * Symbolic-link file system
105  * A "filesystem" which is just a symbol link.
106  */
107 #define HAS_SFS
108 extern am_ops	sfs_ops;	/* Symlink FS */
109