File:  [Research Unix] / researchv9 / sys.vax / h / mount.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:59 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv9-SUN3_old, researchv9-SUN3, HEAD
researchv9-SUN3(old)

/*
 * Mount structure.
 * One allocated on every mount.
 * Used to find the super block.
 */
struct	mount	/* free if !m_bufp && !m_fstyp */
{
	struct	inode *m_inodp;	/* pointer to mounted on inode */
	union {
		struct	buf *M_bufp;	/* pointer to superblock */
		struct	inode *M_idev;	/* communication inode */
	}	m_union;
	dev_t	m_dev;		/* device mounted */
	u_char	m_fstyp;	/* what kind of file system is mounted */
	u_char	m_flags;		/* see definitions below */
};
#define m_bufp m_union.M_bufp
#define m_idev m_union.M_idev

#ifdef KERNEL
struct	mount mount[NMOUNT];
extern struct mount *findmount();
extern struct mount *findmtip();
extern struct mount *allocmount();
extern int freemount();
#endif

#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.