Skip site navigation (1)Skip section navigation (2)

FreeBSD Man Pages

Man Page or Keyword Search:
Man Architecture
Apropos Keyword Search (all sections) Output format
home | help
DEVD.CONF(5)              FreeBSD File Formats Manual             DEVD.CONF(5)

NAME
     devd.conf - configuration file for devd(8)

DESCRIPTION
   General Syntax
     A devd(8) configuration consists of two general features, statements and
     comments.  All statements end with a semicolon.  Many statements can
     contain substatements, which are also terminated with a semicolon.

     The following statements are supported:

     options      specifies various options and parameters for the operation
                  of devd(8).

     attach       specifies various matching criteria and actions to perform
                  when a newly attached device matches said criteria.

     detach       specifies various matching criteria and actions to perform
                  when a newly detached device matches said criteria.

     nomatch      specifies various matching criteria and actions to perform
                  when no device driver currently loaded in the kernel claims
                  a (new) device.

     Statements may occur in any order in the configuration file, and may be
     repeated as often as required.  Further details on the syntax and meaning
     of each statement and their substatements are explained below.

     Comments may appear anywhere that whitespace may appear in a
     configuration file.  To appeal to programmers of all kinds, they can be
     written in C, C++, or shell/Perl constructs.

     C-style comments start with the two characters `/*' (slash, star) and end
     with `*/' (star, slash).  Because they are completely delimited with
     these characters, they can be used to comment only a portion of a line or
     to span multiple lines.

     C-style comments cannot be nested.  For example, the following is not
     valid because the entire comment ends with the first `*/':

           /* This is the start of a comment.
              This is still part of the comment.
           /* This is an incorrect attempt at nesting a comment. */
              This is no longer in any comment. */

     C++-style comments start with the two characters `//' (slash, slash) and
     continue to the end of the physical line.  They cannot be continued
     across multiple physical lines; to have one logical comment span multiple
     lines, each line must use the `//' pair.  For example:

           // This is the start of a comment.  The next line
           // is a new comment, even though it is logically
           // part of the previous comment.

FILES
     /etc/devd.conf      The devd(8) configuration file.

SEE ALSO
     devd(8)

FreeBSD 11.0-PRERELEASE        October 17, 2002        FreeBSD 11.0-PRERELEASE

NAME | DESCRIPTION | FILES | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=devd.conf&sektion=5&manpath=FreeBSD+5.5-RELEASE>

home | help