devd or devfs for ucom?

Roland Smith rsmith at
Wed Jun 10 18:46:07 UTC 2009

On Wed, Jun 10, 2009 at 11:37:56AM -0700, Steve Franks wrote:
> I'm having trouble making my ucom devices public, following the
> handbook (had it working on 7.0, but had a disk crash).
> So, should I be using devd.conf or devfs.rules?  They sure seem built
> to do the same thing to me...

For setting device permissions, you should use devfs.rules in this case,
since USB devices can come and go at any time. devfs.conf is for devices
present at boot time. See devfs.rules(5) and devfs.conf(5).

The purpose of devd is more to perform other actions (e.g. run a script
or program) if a certain event occurs. See e.g. devd.conf(5).

[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list