1*39cec25bSBrad Davis# Copyright (c) 2003 The FreeBSD Project 2*39cec25bSBrad Davis# All rights reserved. 3*39cec25bSBrad Davis# 4*39cec25bSBrad Davis# Redistribution and use in source and binary forms, with or without 5*39cec25bSBrad Davis# modification, are permitted provided that the following conditions 6*39cec25bSBrad Davis# are met: 7*39cec25bSBrad Davis# 1. Redistributions of source code must retain the above copyright 8*39cec25bSBrad Davis# notice, this list of conditions and the following disclaimer. 9*39cec25bSBrad Davis# 2. Redistributions in binary form must reproduce the above copyright 10*39cec25bSBrad Davis# notice, this list of conditions and the following disclaimer in the 11*39cec25bSBrad Davis# documentation and/or other materials provided with the distribution. 12*39cec25bSBrad Davis# 13*39cec25bSBrad Davis# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 14*39cec25bSBrad Davis# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 15*39cec25bSBrad Davis# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 16*39cec25bSBrad Davis# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 17*39cec25bSBrad Davis# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18*39cec25bSBrad Davis# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19*39cec25bSBrad Davis# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20*39cec25bSBrad Davis# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21*39cec25bSBrad Davis# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22*39cec25bSBrad Davis# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23*39cec25bSBrad Davis# SUCH DAMAGE. 24*39cec25bSBrad Davis# 25*39cec25bSBrad Davis 26*39cec25bSBrad Davis# These are examples of how to configure devices using /etc/rc.d/devfs. 27*39cec25bSBrad Davis# The first parameter is always the action to take, the second is always the 28*39cec25bSBrad Davis# existing device created by devfs, and the last is what you want to change. 29*39cec25bSBrad Davis# The name of the action is only significant to the first unique character. 30*39cec25bSBrad Davis# 31*39cec25bSBrad Davis# Examples: 32*39cec25bSBrad Davis 33*39cec25bSBrad Davis# Commonly used by many ports 34*39cec25bSBrad Davis#link cd0 cdrom 35*39cec25bSBrad Davis#link cd0 dvd 36*39cec25bSBrad Davis 37*39cec25bSBrad Davis# Allow a user in the wheel group to query the smb0 device 38*39cec25bSBrad Davis#perm smb0 0660 39*39cec25bSBrad Davis 40*39cec25bSBrad Davis# Allow members of group operator to cat things to the speaker 41*39cec25bSBrad Davis#own speaker root:operator 42*39cec25bSBrad Davis#perm speaker 0660 43