Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 May 2005 13:55:50 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        freebsd-questions@freebsd.org
Subject:   Re: How-to change permission on SCSI devices?
Message-ID:  <20050507115550.GA12436@slackbox.xs4all.nl>
In-Reply-To: <20050507113611.GC622@gothic.blackend.org>
References:  <20050507113916.15da1090.regisr@regix.com> <20050507113611.GC622@gothic.blackend.org>

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

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



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