|
|
1.1 root 1: /* (-lgl
2: * COHERENT Version 3.2.1
3: * Copyright (c) 1982, 1992 by Mark Williams Company.
4: * All rights reserved. May not be copied without permission.
5: -lgl) */
6: /*
7: * Mount table.
8: */
9:
10: #ifndef __SYS_MOUNT_H__
11: #define __SYS_MOUNT_H__
12:
13: #include <common/feature.h>
14: #include <sys/types.h>
15: #include <sys/filsys.h>
16: #include <sys/ksynch.h>
17:
18:
19: /*
20: * Mount table structure.
21: */
22: typedef struct mount {
23: struct mount *m_next; /* Pointer to next */
24: struct inode *m_ip; /* Associated inode */
25: dev_t m_dev; /* Device */
26: int m_flag; /* Flags */
27: GATE m_ilock; /* Inode lock */
28: GATE m_flock; /* Free list lock */
29: struct filsys m_super; /* Super block */
30: } MOUNT;
31:
32: /*
33: * Flags.
34: */
35: #define MFRON 001 /* Read only file system */
36:
37: #if __KERNEL__
38:
39: /*
40: * Functions.
41: */
42: MOUNT *fsmount(); /* fs2.c */
43: MOUNT *getment(); /* fs2.c */
44:
45: /*
46: * Global variables.
47: */
48: extern MOUNT *mountp; /* Mount table */
49:
50: #endif /* __KERNEL__ */
51:
52: #endif /* ! defined (__SYS_MOUNT_H__) */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.