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