]> git.pld-linux.org Git - packages/devfsd.git/blob - devfsd.conf
perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
[packages/devfsd.git] / devfsd.conf
1 # $Id$
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
24
25 # Permissions settings
26 REGISTER        ^printers/.*    PERMISSIONS root.lp  660
27 REGISTER        ^ide/host.*/bus.*/target.*/lun.*/par.*  PERMISSIONS root.disk 660
28 REGISTER        ^ide/host.*/bus.*/target.*/lun.*/disc   PERMISSIONS root.disk 660
29 REGISTER        ^scsi/host.*/bus.*/target.*/lun.*/par.* PERMISSIONS root.disk 660
30 REGISTER        ^scsi/host.*/bus.*/target.*/lun.*/disc PERMISSIONS root.disk 660
31 REGISTER        ^rd/.*  PERMISSIONS root.disk 660
32 REGISTER        ^vc/.*  PERMISSIONS root.tty 600
33 REGISTER        ^tts/.* PERMISSIONS root.ttyS 600
34 REGISTER        ^v4l/.* PERMISSIONS root.video 660
35 REGISTER        ^floppy/.* PERMISSIONS root.floppy 660
36
37 # Autoload modules
38 LOOKUP          .*              MODLOAD
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
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
53 LOOKUP          cpu/*           MODLOAD
54
This page took 0.14459 seconds and 3 git commands to generate.