devfs.5 (208654) | devfs.5 (212827) |
---|---|
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 --- 22 unchanged lines hidden (view full) --- 31.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 32.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 33.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 34.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 35.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 36.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 37.\" SUCH DAMAGE. 38.\" | 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 --- 22 unchanged lines hidden (view full) --- 31.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 32.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 33.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 34.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 35.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 36.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 37.\" SUCH DAMAGE. 38.\" |
39.\" $FreeBSD: head/share/man/man5/devfs.5 208654 2010-05-30 13:32:39Z jilles $ | 39.\" $FreeBSD: head/share/man/man5/devfs.5 212827 2010-09-18 19:23:14Z gjb $ |
40.\" | 40.\" |
41.Dd May 30, 2010 | 41.Dd September 18, 2010 |
42.Dt DEVFS 5 43.Os 44.Sh NAME 45.Nm devfs 46.Nd device file system 47.Sh SYNOPSIS 48.Bd -literal 49devfs /dev devfs rw 0 0 --- 14 unchanged lines hidden (view full) --- 64can be used to create a new 65.Pa /dev 66mount point. 67.Pp 68The 69.Xr mknod 8 70tool can be used to recover deleted device entries under 71.Nm . | 42.Dt DEVFS 5 43.Os 44.Sh NAME 45.Nm devfs 46.Nd device file system 47.Sh SYNOPSIS 48.Bd -literal 49devfs /dev devfs rw 0 0 --- 14 unchanged lines hidden (view full) --- 64can be used to create a new 65.Pa /dev 66mount point. 67.Pp 68The 69.Xr mknod 8 70tool can be used to recover deleted device entries under 71.Nm . |
72.Pp 73The 74.Xr fdescfs 5 75filesystem is an alternate means for populating 76.Pa /dev/fd . 77The character devices that both 78.Nm 79and 80.Xr fdescfs 5 81present in 82.Pa /dev/fd 83correspond to the open file descriptors of the process 84accessing the directory. 85.Nm 86only creates files for the standard file descriptors 87.Pa 0 , 88.Pa 1 89and 90.Pa 2 . 91.Xr fdescfs 5 92creates files for all open descriptors. |
|
72.Sh FILES 73.Bl -tag -width /dev/XXXX -compact 74.It Pa /dev 75The normal 76.Nm 77mount point. 78.El 79.Sh EXAMPLES 80To mount a 81.Nm 82volume located on 83.Pa /mychroot/dev : 84.Pp 85.Dl "mount -t devfs devfs /mychroot/dev" 86.Sh SEE ALSO 87.Xr devfs 8 , | 93.Sh FILES 94.Bl -tag -width /dev/XXXX -compact 95.It Pa /dev 96The normal 97.Nm 98mount point. 99.El 100.Sh EXAMPLES 101To mount a 102.Nm 103volume located on 104.Pa /mychroot/dev : 105.Pp 106.Dl "mount -t devfs devfs /mychroot/dev" 107.Sh SEE ALSO 108.Xr devfs 8 , |
109.Xr fdescfs 5 , |
|
88.Xr mount 8 89.Sh HISTORY 90The 91.Nm 92file system first appeared in 93.Fx 2.0 . 94It became the preferred method for accessing devices in 95.Fx 5.0 96and the only method in 97.Fx 6.0 . 98The 99.Nm 100manual page first appeared in 101.Fx 2.2 . 102.Sh AUTHORS 103The 104.Nm 105manual page was written by 106.An Mike Pritchard Aq mpp@FreeBSD.org . | 110.Xr mount 8 111.Sh HISTORY 112The 113.Nm 114file system first appeared in 115.Fx 2.0 . 116It became the preferred method for accessing devices in 117.Fx 5.0 118and the only method in 119.Fx 6.0 . 120The 121.Nm 122manual page first appeared in 123.Fx 2.2 . 124.Sh AUTHORS 125The 126.Nm 127manual page was written by 128.An Mike Pritchard Aq mpp@FreeBSD.org . |