home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume21 / amd / part02 / fs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-04-10  |  2.7 KB  |  112 lines

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