efs_mount.h revision 1.1.12.2 1 1.1.12.2 yamt /* $NetBSD: efs_mount.h,v 1.1.12.2 2007/09/03 14:40:13 yamt Exp $ */
2 1.1.12.2 yamt
3 1.1.12.2 yamt /*
4 1.1.12.2 yamt * Copyright (c) 2006 Stephen M. Rumble <rumble (at) ephemeral.org>
5 1.1.12.2 yamt *
6 1.1.12.2 yamt * Permission to use, copy, modify, and distribute this software for any
7 1.1.12.2 yamt * purpose with or without fee is hereby granted, provided that the above
8 1.1.12.2 yamt * copyright notice and this permission notice appear in all copies.
9 1.1.12.2 yamt *
10 1.1.12.2 yamt * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11 1.1.12.2 yamt * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 1.1.12.2 yamt * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13 1.1.12.2 yamt * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 1.1.12.2 yamt * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 1.1.12.2 yamt * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 1.1.12.2 yamt * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 1.1.12.2 yamt */
18 1.1.12.2 yamt
19 1.1.12.2 yamt #ifndef _FS_EFS_EFS_MOUNT_H_
20 1.1.12.2 yamt #define _FS_EFS_EFS_MOUNT_H_
21 1.1.12.2 yamt
22 1.1.12.2 yamt struct efs_args {
23 1.1.12.2 yamt char *fspec; /* block special device to mount */
24 1.1.12.2 yamt int version;
25 1.1.12.2 yamt };
26 1.1.12.2 yamt
27 1.1.12.2 yamt #define EFS_MNT_VERSION 0
28 1.1.12.2 yamt
29 1.1.12.2 yamt #ifdef _KERNEL
30 1.1.12.2 yamt
31 1.1.12.2 yamt struct efs_mount {
32 1.1.12.2 yamt struct efs_sb em_sb; /* in-core superblock copy */
33 1.1.12.2 yamt dev_t em_dev; /* device mounted on */
34 1.1.12.2 yamt struct mount *em_mnt; /* pointer to our mount structure */
35 1.1.12.2 yamt struct vnode *em_devvp; /* block device vnode pointer */
36 1.1.12.2 yamt };
37 1.1.12.2 yamt
38 1.1.12.2 yamt #endif
39 1.1.12.2 yamt
40 1.1.12.2 yamt #endif /* !_FS_EFS_EFS_MOUNT_H_ */
41