FreeBSD Device Driver Writer's Guide : Linking Into the Kernel. : Standard Model : Making device nodes.
Previous: config(8)
Next: Reboot.

4.1.5. Making device nodes.

On FreeBSD, you are responsible for making your own device nodes. The major number of your device is determined by the slot number in the device switch. Minor number is driver dependent, of course. You can either run the mknod's from the command line, or add a section to /dev/MAKEDEV.local, or even /dev/MAKEDEV to do the work. I sometimes create a MAKEDEV.dev script that can be run stand-alone or pasted into /dev/MAKEDEV.local


FreeBSD Device Driver Writer's Guide : Linking Into the Kernel. : Standard Model : Making device nodes.
Previous: config(8)
Next: Reboot.
freebsd-questions@freebsd.org