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

FreeBSD Manual Pages

  
 
  

home | help
DEVD.CONF(5)		    BSD	File Formats Manual		  DEVD.CONF(5)

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

OVERVIEW
   General Syntax
     A devd(8) configuration consists of two general features, statements and
     comments.	All statements end with	a semicolon.  Many statements can con-
     tain substatements, which are each	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
       attached	device matches said criteria.

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

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

     Comments may appear anywhere that whitespace may appear in	a configura-
     tion 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)

BUGS
     devd currently always runs	"/etc/devd-generic $device $startstop" for all
     device events, reguardless	of what	the config file	says to	do.

BSD			       October 17, 2002				   BSD

NAME | OVERVIEW | FILES | SEE ALSO | BUGS

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.0-RELEASE>

home | help