On Thu, Oct 09, 2014 at 01:58:20PM +0000, Hans Petter Selasky wrote: > New Revision: 272820 > URL: https://svnweb.freebsd.org/changeset/base/272820 > > Log: > Add example devd configuration file for USB printers. > > +# Generic USB printer devices > +#notify 100 { > +# match "system" "USB"; > +# match "subsystem" "INTERFACE"; > +# match "type" "ATTACH"; > +# match "intclass" "0x07"; > +# match "intsubclass" "0x01"; > +# match "intprotocol" "(0x01|0x02|0x03)"; > +# action "chown root:wheel /dev/$cdev";
Calling chown(8) looks weird for two reasons: 1) root:wheel arguably should already be the default, and 2) device node credentials and permissions are usually set via devfs.rules(5). ./danfe _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"