]> git.pld-linux.org Git - packages/devfsd.git/blame - devfsd.conf
- 1.3.12
[packages/devfsd.git] / devfsd.conf
CommitLineData
392ba9e2 1# $Id$
f43f90b5
AF
2# Sample /etc/devfsd.conf configuration file.
3# Richard Gooch <rgooch@atnf.csiro.au> 3-FEB-2000
4#
5# Enable full compatibility mode for old device names. You may comment these
6# out if you don't use the old device names. Make sure you know what you're
7# doing!
8REGISTER .* MKOLDCOMPAT
9UNREGISTER .* RMOLDCOMPAT
10
11# You may comment out the above and uncomment the following if you've
12# configured your system to use the original "new" devfs names or the really
13# new names
14#REGISTER vc/.* MKOLDCOMPAT
15#UNREGISTER vc/.* RMOLDCOMPAT
16#REGISTER pty/.* MKOLDCOMPAT
17#UNREGISTER pty/.* RMOLDCOMPAT
18#REGISTER misc MKOLDCOMPAT
19#UNREGISTER misc RMOLDCOMPAT
20
21# You may comment these out if you don't use the original "new" names
22REGISTER .* MKNEWCOMPAT
23UNREGISTER .* RMNEWCOMPAT
392ba9e2 24
13d2fc58
JK
25# Permissions settings
26REGISTER ^printers/.* PERMISSIONS root.lp 660
a3cdae09
JK
27REGISTER ^ide/host.*/bus.*/target.*/lun.*/par.* PERMISSIONS root.disk 660
28REGISTER ^ide/host.*/bus.*/target.*/lun.*/disc PERMISSIONS root.disk 660
29REGISTER ^scsi/host.*/bus.*/target.*/lun.*/par.* PERMISSIONS root.disk 660
30REGISTER ^scsi/host.*/bus.*/target.*/lun.*/disc PERMISSIONS root.disk 660
31REGISTER ^rd/.* PERMISSIONS root.disk 660
32REGISTER ^vc/.* PERMISSIONS root.tty 600
33REGISTER ^tts/.* PERMISSIONS root.ttyS 600
e9005e96 34REGISTER ^v4l/.* PERMISSIONS root.video 660
13d2fc58 35
392ba9e2
AF
36# Autoload modules
37LOOKUP .* MODLOAD
13d2fc58
JK
38
39# Setup your links here:
40#LOOKUP ^mouse$ CFUNCTION GLOBAL symlink ${mntpnt}/tts/0 $devpath
41#LOOKUP ^cdrom$ CFUNCTION GLOBAL symlink ${mntpnt}/cdroms/cdrom0 $devpath
42#LOOKUP ^dvd$ CFUNCTION GLOBAL symlink ${mntpnt}/cdroms/cdrom0 $devpath
43
0a0f53cf
AM
44# ALSA example
45#LOOKUP snd MODLOAD ACTION snd
46#REGISTER sound/.* PERMISSIONS root.audio 660
47#REGISTER snd/.* PERMISSIONS root.audio 660
48#LOOKUP dsp MODLOAD
49#REGISTER dsp PERMISSIONS root.audio 660
50
51# CPU Microcode
52LOOKUP cpu/* MODLOAD
53
This page took 0.348273 seconds and 4 git commands to generate.