xref: /dragonfly/share/man/man5/devfs.5 (revision cfd1aba3)
1.\" Copyright (c) 1996
2.\"	Mike Pritchard <mpp@FreeBSD.org>.  All rights reserved.
3.\"
4.\" Copyright (c) 1992, 1993, 1994
5.\"	The Regents of the University of California.  All rights reserved.
6.\" All rights reserved.
7.\"
8.\" This code is derived from software donated to Berkeley by
9.\" Jan-Simon Pendry.
10.\"
11.\" Redistribution and use in source and binary forms, with or without
12.\" modification, are permitted provided that the following conditions
13.\" are met:
14.\" 1. Redistributions of source code must retain the above copyright
15.\"    notice, this list of conditions and the following disclaimer.
16.\" 2. Redistributions in binary form must reproduce the above copyright
17.\"    notice, this list of conditions and the following disclaimer in the
18.\"    documentation and/or other materials provided with the distribution.
19.\" 3. Neither the name of the University nor the names of its contributors
20.\"    may be used to endorse or promote products derived from this software
21.\"    without specific prior written permission.
22.\"
23.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
24.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
27.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
28.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33.\" SUCH DAMAGE.
34.\"
35.\" $FreeBSD: src/share/man/man5/devfs.5,v 1.19 2006/09/18 15:24:19 ru Exp $
36.\"
37.Dd September 12, 2009
38.Dt DEVFS 5
39.Os
40.Sh NAME
41.Nm devfs
42.Nd device file system
43.\".Sh SYNOPSIS
44.\".Bd -literal
45.\"devfs	/dev	devfs rw 0 0
46.\".Ed
47.Sh DESCRIPTION
48The device file system, or
49.Nm ,
50provides access to kernel's device
51namespace in the global file system namespace.
52It is mounted automatically on
53.Pa /dev .
54.Pp
55The file system includes several directories, links, symbolic links
56and devices, some of which can also be written.
57In a chroot'ed
58environment,
59.Nm
60can be used to create a new
61.Pa /dev
62mount point.
63.Sh FILES
64.Bl -tag -width /dev/XXXX -compact
65.It Pa /dev
66The normal
67.Nm
68mount point.
69.El
70.\".Sh EXAMPLES
71.\"To mount a
72.\".Nm
73.\"volume located on
74.\".Pa /dev :
75.\".Pp
76.\".Dl "mount -t devfs devfs /dev"
77.Sh SEE ALSO
78.Xr devfsctl 8
79.\".Xr mount 8
80.Sh HISTORY
81The
82.Nm
83file system first appeared in
84.Dx 2.3 .
85.Sh AUTHORS
86.An Alex Hornung
87