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