Manual Reference Pages - DEVFS.CONF (5)
- boot-time devfs configuration information
file provides an easy way to set ownership and permissions, or create
links for devices available at boot.
It does not work for devices plugged in and out after the system is up
and running, e.g. USB devices.
for setting ownership and permissions for all device nodes, and
for actions to be taken when devices are attached or detached.
Lines starting with a hash sign
and empty lines are ignored.
The lines that specify
rules consist of three parameters separated by whitespace:
The action to take for the device.
The action names are only significant to the first unique character.
The name of the device created by
The argument of the
The actions currently supported are:
This action creates a symbolic link named
that points to
the name of the device created by
This action changes the ownership of
parameter must be in the form of an
pair, in the same format used by
This action changes the permissions of
parameter must be a
as explained in
To create a
link that points to the first
the following may be added to
link cd0 cdrom
Similarly, to link
to the first SCSI CD-ROM device, the following action may be used:
link cd0 cdrom
To set the owner of a device, the
action may be specified:
own cd0 root:cdrom
To set the permissions of a device, a
action should be used:
perm cd0 0660
This manual page was written by
.An Roland Smith Aq firstname.lastname@example.org .
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.