# Sample /etc/devfsd.conf configuration file. # Richard Gooch 3-JUL-2000 # # Enable full compatibility mode for old device names. You may comment these # out if you don't use the old device names. Make sure you know what you're # doing! REGISTER .* MKOLDCOMPAT UNREGISTER .* RMOLDCOMPAT # You may comment out the above and uncomment the following if you've # configured your system to use the original "new" devfs names or the really # new names #REGISTER vc/.* MKOLDCOMPAT #UNREGISTER vc/.* RMOLDCOMPAT #REGISTER pty/.* MKOLDCOMPAT #UNREGISTER pty/.* RMOLDCOMPAT #REGISTER misc MKOLDCOMPAT #UNREGISTER misc RMOLDCOMPAT # You may comment these out if you don't use the original "new" names REGISTER .* MKNEWCOMPAT UNREGISTER .* RMNEWCOMPAT # Personalised settings REGISTER ^v4l/video0$ CFUNCTION GLOBAL symlink v4l/video0 video REGISTER ^v4l/vbi0$ CFUNCTION GLOBAL symlink v4l/vbi0 vbi REGISTER ^st0$ CFUNCTION GLOBAL symlink st0 tape LOOKUP usb/rio500 EXECUTE /bin/mknod /dev/usb/rio500 c 180 64 # Enable module autoloading. You may comment this out if you don't use # autoloading LOOKUP .* MODLOAD # # Uncomment this if you want permissions to be saved and restored REGISTER ^pt[sy]/.* IGNORE CHANGE ^pt[sy]/.* IGNORE REGISTER .* COPY /var/state/devfs/$devname $devpath CHANGE .* COPY $devpath /var/state/devfs/$devname CREATE .* COPY $devpath /var/state/devfs/$devname