From owner-freebsd-questions@FreeBSD.ORG Sat May 7 11:55:53 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4709616A4D9 for ; Sat, 7 May 2005 11:55:53 +0000 (GMT) Received: from smtp-vbr5.xs4all.nl (smtp-vbr5.xs4all.nl [194.109.24.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 92EB543DA3 for ; Sat, 7 May 2005 11:55:52 +0000 (GMT) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr5.xs4all.nl (8.12.11/8.12.11) with ESMTP id j47BtpEo051996 for ; Sat, 7 May 2005 13:55:51 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id D18D761F1; Sat, 7 May 2005 13:55:50 +0200 (CEST) Date: Sat, 7 May 2005 13:55:50 +0200 From: Roland Smith To: freebsd-questions@freebsd.org Message-ID: <20050507115550.GA12436@slackbox.xs4all.nl> Mail-Followup-To: freebsd-questions@freebsd.org References: <20050507113916.15da1090.regisr@regix.com> <20050507113611.GC622@gothic.blackend.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ew6BAiZeqk4r7MaW" Content-Disposition: inline In-Reply-To: <20050507113611.GC622@gothic.blackend.org> 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! Organization: Me, organized? X-Virus-Scanned: by XS4ALL Virus Scanner Subject: Re: How-to change permission on SCSI devices? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 May 2005 11:55:53 -0000 --ew6BAiZeqk4r7MaW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, May 07, 2005 at 01:36:11PM +0200, Marc Fonvieille wrote: > On Sat, May 07, 2005 at 11:39:16AM +0200, regisr wrote: > > I am looking for a FAQ about dynamic devices: > > In 5.3 (and 5.4..) SCSI devices nodes (/dev/pass*) are created when > > discovered (at boot or when running "camcontrol rescan ... " ) > > How to change the permissions on the /dev/pass* ? (not manualy of > > course ;-)=20 > > OK, I can wrote a shell for this but if there is a less dirty > > possibility... >=20 > You have to use devfs(8) facility (man devfs). Anything that exists at boot time can be configured (ownership, permissions and links) in /etv/devfs.conf. Stuff like USB that can be hotplugged should be configured in /etc/devfs.rules for ownership and permissions and in /etc/usbd.conf for attach and detach events. There are no official manual pages yet for devfs.conf and devfs.rules. You can find the ones I've submitted at http://www.xs4all.nl/~rsmith/freebsd/ Roland --=20 R.F. Smith /"\ ASCII Ribbon Campaign r s m i t h @ x s 4 a l l . n l \ / No HTML/RTF in e-mail http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail public key: http://www.keyserver.net / \ Respect for open standards --ew6BAiZeqk4r7MaW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCfKzGEnfvsMMhpyURAg9GAJ9S9GZQA5ekopHy6GyxVRHKaJWylQCgiIBA d9GLP0NH/SV/Px2IqRIkPYg= =4xGN -----END PGP SIGNATURE----- --ew6BAiZeqk4r7MaW--