Annotation of researchv9/sys.vax/h/mount.h, revision 1.1.1.1

1.1       root        1: /*
                      2:  * Mount structure.
                      3:  * One allocated on every mount.
                      4:  * Used to find the super block.
                      5:  */
                      6: struct mount   /* free if !m_bufp && !m_fstyp */
                      7: {
                      8:        struct  inode *m_inodp; /* pointer to mounted on inode */
                      9:        union {
                     10:                struct  buf *M_bufp;    /* pointer to superblock */
                     11:                struct  inode *M_idev;  /* communication inode */
                     12:        }       m_union;
                     13:        dev_t   m_dev;          /* device mounted */
                     14:        u_char  m_fstyp;        /* what kind of file system is mounted */
                     15:        u_char  m_flags;                /* see definitions below */
                     16: };
                     17: #define m_bufp m_union.M_bufp
                     18: #define m_idev m_union.M_idev
                     19: 
                     20: #ifdef KERNEL
                     21: struct mount mount[NMOUNT];
                     22: extern struct mount *findmount();
                     23: extern struct mount *findmtip();
                     24: extern struct mount *allocmount();
                     25: extern int freemount();
                     26: #endif
                     27: 
                     28: #define M_MOUNTED 1

unix.superglobalmegacorp.com

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