*/
#include <sys/param.h>
#include <sys/mount.h>
-
-#if 0
-#include <vfs/devfs/devfs.h>
-#endif
+#include <sys/devfs.h>
#include <err.h>
#include <stdio.h>
#include "mntopts.h"
-#define DEVFS_MNT_RULESET 0x01
-#define DEVFS_MNT_JAIL 0x02
#if 0
#define MOPT_UPDATE { "update", 0, MNT_UPDATE, 0 }
#endif
static void usage(void);
-struct devfs_mount_info {
- int flags;
-};
-
int
main(int argc, char **argv)
{
#include <sys/vnode.h>
#include <sys/devicestat.h>
#include <sys/thread2.h>
-#include <vfs/devfs/devfs.h>
+#include <sys/devfs.h>
#include "../cam.h"
#include "../cam_ccb.h"
#include <vm/swap_pager.h>
#include <vm/vm_extern.h>
#include <vm/vm_zone.h>
-#include <vfs/devfs/devfs.h>
+#include <sys/devfs.h>
static d_ioctl_t vnioctl;
static d_open_t vnopen;
#include <sys/thread2.h>
#include <sys/vnode.h>
#include <sys/device.h>
-#include <vfs/devfs/devfs.h>
+#include <sys/devfs.h>
static l_close_t snplclose;
static l_write_t snplwrite;
#include <sys/rman.h>
#include <sys/timepps.h>
#include <sys/thread2.h>
-#include <vfs/devfs/devfs.h>
+#include <sys/devfs.h>
#include <machine/limits.h>
#include <sys/sysref2.h>
-#include <vfs/devfs/devfs.h>
+#include <sys/devfs.h>
MALLOC_DEFINE(M_DEVT, "cdev_t", "dev_t storage");
#include <sys/proc.h>
#include <machine/stdarg.h>
#include <sys/thread2.h>
-#include <vfs/devfs/devfs.h>
+#include <sys/devfs.h>
/*
* system link descriptors identify the command in the
#include <sys/msgport.h>
#include <sys/msgport2.h>
#include <sys/buf2.h>
-#include <vfs/devfs/devfs.h>
+#include <sys/devfs.h>
#include <sys/thread.h>
#include <sys/thread2.h>
#include <vfs/ufs/dinode.h> /* XXX used only for fs.h */
#include <vfs/ufs/fs.h> /* XXX used only to get BBSIZE/SBSIZE */
-#include <vfs/devfs/devfs.h>
+#include <sys/devfs.h>
static int dsreadandsetlabel(cdev_t dev, u_int flags,
struct diskslices *ssp, struct diskslice *sp,
#include <sys/malloc.h>
#include <sys/device.h>
#include <sys/thread2.h>
-#include <vfs/devfs/devfs.h>
+#include <sys/devfs.h>
DEVFS_DECLARE_CLONE_BITMAP(pty);
DEVFS_DECLARE_CLONE_BITMAP(pts);
#include <sys/paths.h>
#include <sys/thread2.h>
#include <sys/nlookup.h>
-#include <vfs/devfs/devfs.h>
+#include <sys/devfs.h>
#include "opt_ddb.h"
#ifdef DDB
#include <sys/kernel.h>
#include <sys/sysctl.h>
-#include <vfs/devfs/devfs.h>
+#include <sys/devfs.h>
struct netmsg_bpf_output {
struct netmsg nm_netmsg;
#include <net/if_arp.h>
#include <net/if_clone.h>
#include <net/route.h>
-#include <vfs/devfs/devfs.h>
+#include <sys/devfs.h>
#include <netinet/in.h>
#include <net/ifq_var.h>
#include <net/netisr.h>
#include <net/route.h>
-#include <vfs/devfs/devfs.h>
+#include <sys/devfs.h>
#ifdef INET
#include <netinet/in.h>
#include <sys/uio.h>
#include <sys/vnode.h>
#include <sys/thread2.h>
-#include <vfs/devfs/devfs.h>
+#include <sys/devfs.h>
#include <net/if.h>
#include "smb.h"
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
-#ifndef _VFS_DEVFS_H_
-#define _VFS_DEVFS_H_
+#ifndef _SYS_DEVFS_H_
+#define _SYS_DEVFS_H_
#if defined(_KERNEL) || defined(_KERNEL_STRUCTURES)
int flags;
};
-#endif /* _VFS_DEVFS_H_ */
+#endif /* _SYS_DEVFS_H_ */
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
-#ifndef _VFS_DEVFS_RULES_H_
-#define _VFS_DEVFS_RULES_H_
+#ifndef _SYS_DEVFS_RULES_H_
+#define _SYS_DEVFS_RULES_H_
#ifndef _SYS_QUEUE_H_
#include <sys/queue.h>
#if defined(_KERNEL) || defined(_KERNEL_STRUCTURES)
-#ifndef _VFS_DEVFS_H_
-#include <vfs/devfs/devfs.h>
+#ifndef _SYS_DEVFS_H_
+#include <sys/devfs.h>
#endif
TAILQ_HEAD(devfs_rule_head, devfs_rule);
void *devfs_rule_check_apply(struct devfs_node *, void *);
void *devfs_rule_reset_node(struct devfs_node *, void *);
#endif /* _KERNEL */
-#endif /* _VFS_DEVFS_RULES_H_ */
+#endif /* _SYS_DEVFS_RULES_H_ */
#include <sys/param.h>
#include <sys/sysref2.h>
#include <sys/systm.h>
-#include <vfs/devfs/devfs.h>
-#include <vfs/devfs/devfs_rules.h>
+#include <sys/devfs.h>
+#include <sys/devfs_rules.h>
MALLOC_DEFINE(M_DEVFS, "devfs", "Device File System (devfs) allocations");
DEVFS_DECLARE_CLONE_BITMAP(ops_id);
#include <sys/types.h>
#include <sys/param.h>
#include <machine/limits.h>
-#include <vfs/devfs/devfs.h>
+#include <sys/devfs.h>
MALLOC_DECLARE(M_DEVFS);
#include <sys/fcntl.h>
#include <sys/device.h>
#include <sys/mount.h>
-#include <vfs/devfs/devfs.h>
-#include <vfs/devfs/devfs_rules.h>
+#include <sys/devfs.h>
+#include <sys/devfs_rules.h>
MALLOC_DECLARE(M_DEVFS);
#include <sys/vnode.h>
#include <sys/jail.h>
#include <sys/lock.h>
-#include <vfs/devfs/devfs.h>
+#include <sys/devfs.h>
MALLOC_DECLARE(M_DEVFS);
#include <sys/ttycom.h>
#include <sys/sysref2.h>
#include <sys/tty.h>
-#include <vfs/devfs/devfs.h>
+#include <sys/devfs.h>
#include <sys/pioctl.h>
#include <machine/limits.h>
#include <sys/device.h>
#include <sys/queue.h>
#include <sys/stat.h>
-#include <vfs/devfs/devfs_rules.h>
+#include <sys/devfs_rules.h>
#include <ctype.h>
#include <err.h>