get fstype from mount entry
[unix-history] / usr / src / usr.sbin / amd / config / os-sos4.h
CommitLineData
e1a31032 1/*
e1a31032
KM
2 * Copyright (c) 1989 Jan-Simon Pendry
3 * Copyright (c) 1989 Imperial College of Science, Technology & Medicine
16f2cf2d
KB
4 * Copyright (c) 1989, 1993
5 * The Regents of the University of California. All rights reserved.
e1a31032
KM
6 *
7 * This code is derived from software contributed to Berkeley by
8 * Jan-Simon Pendry at Imperial College, London.
9 *
10 * %sccs.include.redist.c%
11 *
16f2cf2d 12 * @(#)os-sos4.h 8.1 (Berkeley) %G%
8d2991d5 13 *
332f0791 14 * $Id: os-sos4.h,v 5.2.2.1 1992/02/09 15:10:41 jsp beta $
8d2991d5
JSP
15 *
16 * SunOS 4.0 definitions for Amd (automounter)
e1a31032
KM
17 */
18
19/*
20 * Does the compiler grok void *
21 */
22#define VOIDP
23
24/*
25 * What type is free(void*) returning?
26 */
27#undef FREE_RETURN_TYPE
28#define FREE_RETURN_TYPE int
29
30/*
31 * Which version of the Sun RPC library we are using
32 * This is the implementation release number, not
33 * the protocol revision number.
34 */
35#define RPC_4
36
37/*
38 * Which version of the NFS interface are we using.
39 * This is the implementation release number, not
40 * the protocol revision number.
41 */
42#define NFS_4
43
44/*
45 * Does this OS have NDBM support?
46 */
47#define OS_HAS_NDBM
48
49/*
50 * Byte ordering
51 */
52#undef ARCH_ENDIAN
53#if defined(mc68010) || defined(mc68020) || defined(sparc)
54#define ARCH_ENDIAN "big"
55#endif
56#if defined(i386)
57#define ARCH_ENDIAN "little"
58#endif
59
60/*
61 * Name of filesystem types
62 */
63#define MOUNT_TYPE_NFS "nfs"
64#define MOUNT_TYPE_UFS "4.2"
65
66/*
67 * Type of a file handle
68 */
69#undef NFS_FH_TYPE
70#define NFS_FH_TYPE caddr_t
71
72/*
73 * Type of filesystem type
74 */
75#undef MTYPE_TYPE
76#define MTYPE_TYPE char *
77
78/*
79 * Add support for SunOS 4 automounter files
80 */
81#define SUNOS4_COMPAT
2f619045
JSP
82
83/*
84 * System Vr4 / SunOS 4.1 compatibility
85 * - put dev= in the options list
86 *
87 * From: Brent Callaghan <brent@eng.sun.com>
88 */
89#define MNTINFO_DEV "dev"
90#define MNTINFO_PREF ""