home *** CD-ROM | disk | FTP | other *** search
/ PDA Software Library / pdasoftwarelib.iso / PSION / COMMS / P3NFS / INCLUDE / CONFIG.H < prev    next >
Encoding:
C/C++ Source or Header  |  1996-05-12  |  994 b   |  53 lines

  1. /*
  2.  * config.h -- customize p3nfsd here, if you really need to.
  3.  */
  4. #define PTY    /* Enable vt100 support parallel with nfsd */
  5.  
  6. #ifdef hpux
  7. # define DDEV "/dev/tty00"
  8. #endif
  9. #ifdef linux
  10. # define DDEV "/dev/ttyS0"
  11. #endif
  12. #ifdef sun
  13. # if defined(__svr4__)
  14. #  define DDEV "/dev/term/a"
  15. # else
  16. #  define DDEV "/dev/ttya"
  17. # endif
  18. #endif
  19. #ifdef _IBMR2
  20. # define DONT_UPDATE_MTAB /* The mount table is obtained from the kernel (!?) */
  21. # define DDEV "/dev/tty0"
  22. #endif
  23. #ifdef __sgi
  24. # define DDEV "/dev/ttyf1"
  25. #endif
  26.  
  27. #define DUSER "root"
  28. #ifndef DDEV
  29. error DDEV is undefined
  30. #endif
  31.  
  32. #ifndef DDIR
  33. # define DDIR "/psion.stand/mnt"
  34. #endif
  35.  
  36. #define DSPEED 19200
  37.  
  38. #if defined(sun) && defined(__svr4__)
  39. #define MTAB_PATH "/etc/mnttab" /*gec*/
  40. #else
  41. #define MTAB_PATH "/etc/mtab"
  42. #endif
  43. #ifdef linux
  44. # define MTAB_TMP  "/etc/mtab~"
  45. #else
  46. # define MTAB_TMP  "/etc/mtab.p3nfsd"
  47. #endif
  48.  
  49. /* See CHANGES for comment */
  50. #ifdef linux
  51. #define NO_WRITE_SELECT
  52. #endif
  53.