From owner-freebsd-stable@FreeBSD.ORG Tue Dec 13 20:30:10 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 649D916A41F for ; Tue, 13 Dec 2005 20:30:10 +0000 (GMT) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr3.xs4all.nl (smtp-vbr3.xs4all.nl [194.109.24.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B48943D91 for ; Tue, 13 Dec 2005 20:29:35 +0000 (GMT) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr3.xs4all.nl (8.13.3/8.13.3) with ESMTP id jBDKTPe7069811; Tue, 13 Dec 2005 21:29:29 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id C6A3BB827; Tue, 13 Dec 2005 21:29:24 +0100 (CET) Date: Tue, 13 Dec 2005 21:29:24 +0100 From: Roland Smith To: "[LoN]Kamikaze" Message-ID: <20051213202924.GC23420@slackbox.xs4all.nl> Mail-Followup-To: "[LoN]Kamikaze" , freebsd-stable@freebsd.org References: <439EF8B5.4030702@gmx.de> <20051213164947.GA17705@odin.ac.hmc.edu> <20051213180418.GA20852@slackbox.xs4all.nl> <20051213192143.GA5926@odin.ac.hmc.edu> <439F24B2.1080408@gmx.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KN5l+BnMqAQyZLvT" Content-Disposition: inline In-Reply-To: <439F24B2.1080408@gmx.de> User-Agent: Mutt/1.4.2.1i 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! X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-stable@freebsd.org Subject: Re: devfs doesn't set access rights X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Dec 2005 20:30:10 -0000 --KN5l+BnMqAQyZLvT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 13, 2005 at 08:44:50PM +0100, [LoN]Kamikaze wrote: > Well, here are my conclusions. >=20 > 1) > The manpage for devfs.rules should mention that you have to set >=20 > devfs_system_ruleset=3D"yourruleset" >=20 > in /etc/rc.conf . I didn't see it anywhere. Agreed. I've posted a patch in this thread for that. If there are no comments, I'll send-pr it. =20 > 3) > There is one kind of thing I cannot do in /etc/devfs.rules, creating > links. So I am still doing this in /etc/devfs.conf (links don't cause > race conditions anyway, I hope). Maybe devd could be used for that. > One would think that "link ttyU0 pilot" would simply be translated to > "ln -s /dev/ttyU0 /dev/pilot" which would simply create the link and it > would work as soon as a ttyU0 device (my PDA) is there. But instead it > checks weather the device exists (of course it doesn't since I didn't > press the hotsync button during boot) and omits the creation of the link. >=20 > So either the behaviour of /etc/rc.d/devfs has to be changed or it has > to be dumped entirely and /sbin/devfs has to implement a way to create > links (the solution I would prefer). And maybe there should be a combination with devd? Roland --=20 R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt --KN5l+BnMqAQyZLvT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDny8kEnfvsMMhpyURAtsJAJ9g9Sb9iP8eL1hrsi858qcl/VwYNQCeJupT 9IaxTqJNVOtMTCdxvwFrfsM= =tNQu -----END PGP SIGNATURE----- --KN5l+BnMqAQyZLvT--