Listing 2. /etc/devfsd.conf

# devfsd.conf

# compatibility for old device names
REGISTER                .*              MKOLDCOMPAT
UNREGISTER      .*              RMOLDCOMPAT

# module autoloading
LOOKUP          .*              MODLOAD

# device permissions
REGISTER        ^cdroms/.*      PERMISSIONS     root.cdrom      0660
REGISTER        ^pty/s.*        PERMISSIONS     root.tty        0600
REGISTER        ^sound/.*       PERMISSIONS     root.audio      0660
REGISTER        ^tts/.*         PERMISSIONS     root.dip        0660

# old style /dev/cdrom link
REGISTER                ^cdroms/cdrom0$ CFUNCTION GLOBAL mksymlink
$devname cdrom
UNREGISTER      ^cdroms/cdrom0$ CFUNCTION GLOBAL unlink cdrom