File: defs.h.in

package info (click to toggle)
p3nfs 5.3-1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 596 kB
  • ctags: 825
  • sloc: ansic: 7,434; makefile: 126; sh: 40
file content (44 lines) | stat: -rw-r--r-- 820 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
 * defs.h.in -- customize p3nfsd here, if you really need to.
 * configure should do most of the work for you.
 */

#define PTY	/* Enable vt100 support parallel with nfsd */

#define MTAB_PATH	"@MTAB@"
#ifdef linux
# define MTAB_TMP	"@MTAB@~"
#else
# define MTAB_TMP	"@MTAB@.p3nfsd"
#endif

#define DDEV		"@DDEV@"
/*
 * hpux10		/dev/tty0p0
 * hpux			/dev/tty00
 * linux		/dev/ttyS0
 * sun && __svr4__ 	/dev/term/a
 * sun  		/dev/ttya
 * _IBMR2		/dev/tty0
 * __sgi		/dev/ttyf1
 */

#ifdef _IBMR2
# define DONT_UPDATE_MTAB /* The mount table is obtained from the kernel (!?) */
#endif

#define DUSER "root"
#ifndef DDEV
ERROR: p3nfsd is not yet ported to this system
#endif

#ifndef DDIR
# define DDIR "/psion/mnt"
#endif

#define DSPEED 19200

/* See CHANGES for comment */
#ifdef linux
#define NO_WRITE_SELECT
#endif