How-to change permission on SCSI devices?

Philippe PEGON Philippe.Pegon at crc.u-strasbg.fr
Sat May 7 11:19:58 PDT 2005


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


More information about the freebsd-questions mailing list