1114769Sdougb# Copyright (c) 2003 The FreeBSD Project 2114769Sdougb# All rights reserved. 3130151Sschweikh# 4114769Sdougb# Redistribution and use in source and binary forms, with or without 5114769Sdougb# modification, are permitted provided that the following conditions 6114769Sdougb# are met: 7114769Sdougb# 1. Redistributions of source code must retain the above copyright 8114769Sdougb# notice, this list of conditions and the following disclaimer. 9114769Sdougb# 2. Redistributions in binary form must reproduce the above copyright 10114769Sdougb# notice, this list of conditions and the following disclaimer in the 11114769Sdougb# documentation and/or other materials provided with the distribution. 12130151Sschweikh# 13114769Sdougb# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 14114769Sdougb# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 15114769Sdougb# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 16114769Sdougb# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 17114769Sdougb# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18114769Sdougb# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19114769Sdougb# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20114769Sdougb# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21114769Sdougb# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22114769Sdougb# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23114769Sdougb# SUCH DAMAGE. 24130151Sschweikh# 25114769Sdougb# $FreeBSD: releng/10.2/etc/devfs.conf 226862 2011-10-27 20:39:20Z gavin $ 26114769Sdougb 27114769Sdougb# These are examples of how to configure devices using /etc/rc.d/devfs. 28114769Sdougb# The first parameter is always the action to take, the second is always the 29114769Sdougb# existing device created by devfs, and the last is what you want to change. 30114769Sdougb# The name of the action is only significant to the first unique character. 31114769Sdougb# 32114769Sdougb# Examples: 33114769Sdougb 34114769Sdougb# Commonly used by many ports 35226860Sgavin#link cd0 cdrom 36226860Sgavin#link cd0 dvd 37114769Sdougb 38114769Sdougb# Allow a user in the wheel group to query the smb0 device 39114769Sdougb#perm smb0 0660 40114769Sdougb 41114769Sdougb# Allow members of group operator to cat things to the speaker 42114769Sdougb#own speaker root:operator 43114769Sdougb#perm speaker 0660 44