Reference

makedev.cfg(5)

configuration for MAKEDEV(8)

NAME

makedev.cfg - configuration for MAKEDEV(8)

DESCRIPTION

makedev.cfg is a text file that tells MAKEDEV(8) what to do (and, equally importantly, what not to do.) Unlike devinfo(5), which is meant to be centrally maintained, it contains all local configuration for a particular site and all customization. There are basically two kinds of declaration in this file: a "class" declaration and an "omit" declaration.

A class declaration has the form

class name : owner group-owner permissions

This says that any devices placed in the specified class by devinfo should be created with this ownership and these permissions. A sample entry might be

class public:	root	system	0666

This says that devices marked "public" should be owned by root.system and have mode 666.

An omit declaration has the form

omit { device... }

This causes the specified devices to never be created, EVEN IF EXPLICITLY SPECIFIED. Use caution when setting this up. The intent is to be able to run and not have it create all sorts of useless devices you'd never use.

SEE ALSO

MAKEDEV(8), devinfo(5)

History