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