From owner-freebsd-questions@FreeBSD.ORG  Wed Jun 10 18:46:06 2009
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 703E210656C1
	for <freebsd-questions@freebsd.org>;
	Wed, 10 Jun 2009 18:46:06 +0000 (UTC)
	(envelope-from rsmith@xs4all.nl)
Received: from smtp-vbr10.xs4all.nl (smtp-vbr10.xs4all.nl [194.109.24.30])
	by mx1.freebsd.org (Postfix) with ESMTP id 04CAA8FC16
	for <freebsd-questions@freebsd.org>;
	Wed, 10 Jun 2009 18:46:05 +0000 (UTC)
	(envelope-from rsmith@xs4all.nl)
Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160])
	by smtp-vbr10.xs4all.nl (8.13.8/8.13.8) with ESMTP id n5AIk49l021501;
	Wed, 10 Jun 2009 20:46:04 +0200 (CEST)
	(envelope-from rsmith@xs4all.nl)
Received: by slackbox.xs4all.nl (Postfix, from userid 1001)
	id 45DF2BA8E; Wed, 10 Jun 2009 20:46:04 +0200 (CEST)
Date: Wed, 10 Jun 2009 20:46:04 +0200
From: Roland Smith <rsmith@xs4all.nl>
To: Steve Franks <bahamasfranks@gmail.com>
Message-ID: <20090610184604.GA1102@slackbox.xs4all.nl>
References: <539c60b90906101137v542a6185s5ffe06407759da1f@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="RnlQjJ0d97Da+TV1"
Content-Disposition: inline
In-Reply-To: <539c60b90906101137v542a6185s5ffe06407759da1f@mail.gmail.com>
X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725
X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt
X-GPG-Notice: If this message is not signed, don't assume I sent it!
User-Agent: Mutt/1.5.19 (2009-01-05)
X-Virus-Scanned: by XS4ALL Virus Scanner
Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject: Re: devd or devfs for ucom?
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 10 Jun 2009 18:46:07 -0000


--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--