]> git.pld-linux.org Git - packages/devfsd.git/blame - devfsd.conf
perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
[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
91a31d34 35REGISTER ^floppy/.* PERMISSIONS root.floppy 660
13d2fc58 36
392ba9e2
AF
37# Autoload modules
38LOOKUP .* MODLOAD
13d2fc58
JK
39
40# Setup your links here:
41#LOOKUP ^mouse$ CFUNCTION GLOBAL symlink ${mntpnt}/tts/0 $devpath
42#LOOKUP ^cdrom$ CFUNCTION GLOBAL symlink ${mntpnt}/cdroms/cdrom0 $devpath
43#LOOKUP ^dvd$ CFUNCTION GLOBAL symlink ${mntpnt}/cdroms/cdrom0 $devpath
44
0a0f53cf
AM
45# ALSA example
46#LOOKUP snd MODLOAD ACTION snd
47#REGISTER sound/.* PERMISSIONS root.audio 660
48#REGISTER snd/.* PERMISSIONS root.audio 660
49#LOOKUP dsp MODLOAD
50#REGISTER dsp PERMISSIONS root.audio 660
51
52# CPU Microcode
53LOOKUP cpu/* MODLOAD
54
This page took 0.148694 seconds and 4 git commands to generate.