Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jun 2009 20:46:04 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        Steve Franks <bahamasfranks@gmail.com>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: devd or devfs for ucom?
Message-ID:  <20090610184604.GA1102@slackbox.xs4all.nl>
In-Reply-To: <539c60b90906101137v542a6185s5ffe06407759da1f@mail.gmail.com>
References:  <539c60b90906101137v542a6185s5ffe06407759da1f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--RnlQjJ0d97Da+TV1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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).
>=20
> 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).

Roland
--=20
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

--RnlQjJ0d97Da+TV1
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)

iEYEARECAAYFAkov/2wACgkQEnfvsMMhpyXI0wCeIlpaqLWzBaTDFsl5NSaCt3J3
zskAnR/ZqefXG/aBp44XqYBSvz5bRfGV
=zn6M
-----END PGP SIGNATURE-----

--RnlQjJ0d97Da+TV1--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090610184604.GA1102>