]>
Commit | Line | Data |
---|---|---|
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! | |
8 | REGISTER .* MKOLDCOMPAT | |
9 | UNREGISTER .* 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 | |
22 | REGISTER .* MKNEWCOMPAT | |
23 | UNREGISTER .* RMNEWCOMPAT | |
392ba9e2 | 24 | |
13d2fc58 JK |
25 | # Permissions settings |
26 | REGISTER ^printers/.* PERMISSIONS root.lp 660 | |
27 | REGISTER ^ide/host.*/bus.*/target.*/lun.*/.* PERMISSIONS root.disk 660 | |
28 | REGISTER ^ide/rd/.* PERMISSIONS root.disk 660 | |
29 | REGISTER ^ide/vc/.* PERMISSIONS root.tty 600 | |
30 | REGISTER ^ide/tts/.* PERMISSIONS root.ttyS 600 | |
31 | ||
392ba9e2 AF |
32 | # Autoload modules |
33 | LOOKUP .* MODLOAD | |
13d2fc58 JK |
34 | |
35 | # Setup your links here: | |
36 | #LOOKUP ^mouse$ CFUNCTION GLOBAL symlink ${mntpnt}/tts/0 $devpath | |
37 | #LOOKUP ^cdrom$ CFUNCTION GLOBAL symlink ${mntpnt}/cdroms/cdrom0 $devpath | |
38 | #LOOKUP ^dvd$ CFUNCTION GLOBAL symlink ${mntpnt}/cdroms/cdrom0 $devpath | |
39 | ||
0a0f53cf AM |
40 | # ALSA example |
41 | #LOOKUP snd MODLOAD ACTION snd | |
42 | #REGISTER sound/.* PERMISSIONS root.audio 660 | |
43 | #REGISTER snd/.* PERMISSIONS root.audio 660 | |
44 | #LOOKUP dsp MODLOAD | |
45 | #REGISTER dsp PERMISSIONS root.audio 660 | |
46 | ||
47 | # CPU Microcode | |
48 | LOOKUP cpu/* MODLOAD | |
49 |