Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 May 2005 20:24:32 +0200
From:      Philippe PEGON <Philippe.Pegon@crc.u-strasbg.fr>
To:        regisr <regisr@regix.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How-to change permission on SCSI devices?
Message-ID:  <427D07E0.4060109@crc.u-strasbg.fr>
In-Reply-To: <20050507113916.15da1090.regisr@regix.com>
References:  <20050507113916.15da1090.regisr@regix.com>

next in thread | previous in thread | raw e-mail | index | archive | help
regisr a écrit :
> 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 ;-) 
> OK, I can wrote a shell for this but if there is a less dirty
> possibility...
> 

you can do like this :

add this line in /etc/rc.conf :

devfs_system_ruleset="my_ruleset"

and create /etc/devfs.rules like this :

[my_ruleset=10]
add path 'pass*' mode 666

--
Philippe PEGON



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