Annotation of 43BSDReno/usr.sbin/amd/config/misc-aix3.h, revision 1.1

1.1     ! root        1: /*
        !             2:  * $Id: misc-aix3.h,v 5.2 90/06/23 22:20:34 jsp Rel $
        !             3:  *
        !             4:  * Copyright (c) 1990 Jan-Simon Pendry
        !             5:  * Copyright (c) 1990 Imperial College of Science, Technology & Medicine
        !             6:  * Copyright (c) 1990 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:  * Redistribution and use in source and binary forms are permitted provided
        !            13:  * that: (1) source distributions retain this entire copyright notice and
        !            14:  * comment, and (2) distributions including binaries display the following
        !            15:  * acknowledgement:  ``This product includes software developed by the
        !            16:  * University of California, Berkeley and its contributors'' in the
        !            17:  * documentation or other materials provided with the distribution and in
        !            18:  * all advertising materials mentioning features or use of this software.
        !            19:  * Neither the name of the University nor the names of its contributors may
        !            20:  * be used to endorse or promote products derived from this software without
        !            21:  * specific prior written permission.
        !            22:  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
        !            23:  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
        !            24:  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
        !            25:  *
        !            26:  *     @(#)misc-aix3.h 5.1 (Berkeley) 6/29/90
        !            27:  */
        !            28: 
        !            29: struct ufs_args {
        !            30:        char    *fspec;                         /* Block device */
        !            31: };
        !            32: 
        !            33: struct nfs_args {
        !            34:        struct sockaddr_in      addr;           /* file server address */
        !            35:        fhandle_t               fh;             /* File handle to be mounted */
        !            36:        int                     flags;          /* flags */
        !            37:        int                     wsize;          /* write size in bytes */
        !            38:        int                     rsize;          /* read size in bytes */
        !            39:        int                     timeo;          /* initial timeout in .1 secs */
        !            40:        int                     retrans;        /* times to retry send */
        !            41:        char                    *hostname;      /* server's hostname */
        !            42:        int                     acregmin;       /* attr cache file min secs */
        !            43:        int                     acregmax;       /* attr cache file max secs */
        !            44:        int                     acdirmin;       /* attr cache dir min secs */
        !            45:        int                     acdirmax;       /* attr cache dir max secs */
        !            46:        char                    *netname;       /* server's netname */
        !            47:        int                     biods;          /* number of BIODS */
        !            48: };
        !            49: 
        !            50: /*
        !            51:  * NFS mount option flags
        !            52:  */
        !            53: #define        MNTOPT_RO       "ro"    /* read only */
        !            54: #define        MNTOPT_RW       "rw"    /* read/write */
        !            55: #define        MNTOPT_SOFT     "soft"  /* soft mount */
        !            56: #define        MNTOPT_HARD     "hard"  /* hard mount */
        !            57: #define        MNTOPT_NOSUID   "nosuid"/* no set uid allowed */
        !            58: #define        MNTOPT_NOAUTO   "noauto"/* hide entry from mount -a */
        !            59: #define        MNTOPT_INTR     "intr"  /* allow interrupts on hard mount */
        !            60: #define MNTOPT_SECURE  "secure"/* use secure RPC for NFS */
        !            61: #define MNTOPT_GRPID   "grpid" /* SysV-compatible group-id on create */
        !            62: #define MNTOPT_NOSUB   "nosub"  /* disallow mounts beneath this one */
        !            63: #define MNTOPT_MULTI   "multi"  /* Do multi-component lookup */
        !            64: #define MNTOPT_NOAC    "noac"   /* don't cache attributes */
        !            65: 
        !            66: #define NFSMNT_SOFT    0x001   /* soft mount (hard is default) */
        !            67: #define NFSMNT_WSIZE   0x002   /* set write size */
        !            68: #define NFSMNT_RSIZE   0x004   /* set read size */
        !            69: #define NFSMNT_TIMEO   0x008   /* set initial timeout */
        !            70: #define NFSMNT_RETRANS 0x010   /* set number of request retrys */
        !            71: #define NFSMNT_HOSTNAME        0x020   /* set hostname for error printf */
        !            72: #define NFSMNT_INT     0x040   /* allow interrupts on hard mount */
        !            73: #define        NFSMNT_NOAC     0x080   /* don't cache attributes */
        !            74: #define        NFSMNT_ACREGMIN 0x0100  /* set min secs for file attr cache */
        !            75: #define        NFSMNT_ACREGMAX 0x0200  /* set max secs for file attr cache */
        !            76: #define        NFSMNT_ACDIRMIN 0x0400  /* set min secs for dir attr cache */
        !            77: #define        NFSMNT_ACDIRMAX 0x0800  /* set max secs for dir attr cache */
        !            78: #define NFSMNT_SECURE  0x1000  /* secure mount */
        !            79: #define NFSMNT_BIODS   0x10000 /* Number of biods for the file system */
        !            80: 
        !            81: #define DEF_BIODS      6

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.