Deleted Added
full compact
devfs.conf.5 (146329) devfs.conf.5 (147432)
1.\" Copyright (c) 2004 Roland Smith <rsmith@xs4all.nl>
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 8 unchanged lines hidden (view full) ---

17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
1.\" Copyright (c) 2004 Roland Smith <rsmith@xs4all.nl>
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 8 unchanged lines hidden (view full) ---

17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $FreeBSD: head/share/man/man5/devfs.conf.5 146329 2005-05-17 17:52:27Z keramida $
25.\" $FreeBSD: head/share/man/man5/devfs.conf.5 147432 2005-06-16 18:46:17Z ru $
26.\"
27.Dd May 17, 2005
28.Dt DEVFS.CONF 5
29.Os
30.Sh NAME
31.Nm devfs.conf
32.Nd boot-time devfs configuration information
33.Sh DESCRIPTION

--- 12 unchanged lines hidden (view full) ---

46.Pp
47Lines starting with a hash sign
48.Pq Ql #
49and empty lines are ignored.
50The lines that specify
51.Nm
52rules consist of three parameters separated by whitespace:
53.Bl -tag -width indent
26.\"
27.Dd May 17, 2005
28.Dt DEVFS.CONF 5
29.Os
30.Sh NAME
31.Nm devfs.conf
32.Nd boot-time devfs configuration information
33.Sh DESCRIPTION

--- 12 unchanged lines hidden (view full) ---

46.Pp
47Lines starting with a hash sign
48.Pq Ql #
49and empty lines are ignored.
50The lines that specify
51.Nm
52rules consist of three parameters separated by whitespace:
53.Bl -tag -width indent
54.It Li action
54.It Ar action
55The action to take for the device.
56The action names are only significant to the first unique character.
55The action to take for the device.
56The action names are only significant to the first unique character.
57.It Li devname
57.It Ar devname
58The name of the device created by
58The name of the device created by
59.Xr devfs 5
60.It Li arg
59.Xr devfs 5 .
60.It Ar arg
61The argument of the
61The argument of the
62.Dq Li action
62.Ar action .
63.El
64.Pp
65The actions currently supported are:
66.Bl -tag -width indent
63.El
64.Pp
65The actions currently supported are:
66.Bl -tag -width indent
67.It Li link
67.It Ic link
68This action creates a symbolic link named
68This action creates a symbolic link named
69.Dq Li arg
69.Ar arg
70that points to
70that points to
71Dq Li devname ,
71.Ar devname ,
72the name of the device created by
73.Xr devfs 5 .
72the name of the device created by
73.Xr devfs 5 .
74.It Li own
74.It Ic own
75This action changes the ownership of
75This action changes the ownership of
76.Dq Li devname .
76.Ar devname .
77The
77The
78.Dq Li arg
78.Ar arg
79parameter must be in the form of an
79parameter must be in the form of an
80.Li "owner:group"
80.Ar owner Ns : Ns Ar group
81pair, in the same format used by
82.Xr chown 8 .
81pair, in the same format used by
82.Xr chown 8 .
83.It Li perm
83.It Ic perm
84This action changes the permissions of
84This action changes the permissions of
85.Dq Li devname .
85.Ar devname .
86The
86The
87.Dq Li arg
87.Ar arg
88paramater must be a
88paramater must be a
89.Pa mode
89.Ar mode
90as explained in
91.Xr chmod 1 .
92.El
90as explained in
91.Xr chmod 1 .
92.El
93.Sh FILES
94.Bl -tag -compact
95.It Pa /etc/devfs.conf
96.It Pa /usr/share/examples/etc/devfs.conf
97.El
93.Sh EXAMPLES
94To create a
95.Pa /dev/cdrom
96link that points to the first
97.Xr SCSI 4
98or
99.Xr atapicam 4
100CD-ROM,

--- 6 unchanged lines hidden (view full) ---

107Similarly, to link
108.Pa /dev/cdrom
109to the first ATAPI CD-ROM device, the following action may be used:
110.Bd -literal -offset indent
111link acd0 cdrom
112.Ed
113.Pp
114To set the owner of a device, the
98.Sh EXAMPLES
99To create a
100.Pa /dev/cdrom
101link that points to the first
102.Xr SCSI 4
103or
104.Xr atapicam 4
105CD-ROM,

--- 6 unchanged lines hidden (view full) ---

112Similarly, to link
113.Pa /dev/cdrom
114to the first ATAPI CD-ROM device, the following action may be used:
115.Bd -literal -offset indent
116link acd0 cdrom
117.Ed
118.Pp
119To set the owner of a device, the
115.Dq Li own
120.Ic own
116action may be specified:
117.Bd -literal -offset indent
118own cd0 root:cdrom
119.Ed
120.Pp
121To set the permissions of a device, a
121action may be specified:
122.Bd -literal -offset indent
123own cd0 root:cdrom
124.Ed
125.Pp
126To set the permissions of a device, a
122.Dq Li perm
127.Ic perm
123action should be used:
124.Bd -literal -offset indent
125perm cd0 0660
126.Ed
128action should be used:
129.Bd -literal -offset indent
130perm cd0 0660
131.Ed
127.Sh FILES
128.Bl -tag -compact
129.It Pa /etc/devfs.conf
130.It Pa /usr/share/examples/etc/devfs.conf
131.El
132.Sh SEE ALSO
133.Xr chmod 1 ,
134.Xr devfs 5 ,
135.Xr devfs.rules 5 ,
136.Xr usbd.conf 5 ,
137.Xr chown 8
138.Sh AUTHORS
132.Sh SEE ALSO
133.Xr chmod 1 ,
134.Xr devfs 5 ,
135.Xr devfs.rules 5 ,
136.Xr usbd.conf 5 ,
137.Xr chown 8
138.Sh AUTHORS
139.An "Roland Smith" Aq rsmith@xs4all.nl
139This manual page was written by
140.An "Roland Smith" Aq rsmith@xs4all.nl .