From owner-freebsd-questions@FreeBSD.ORG Sat May 7 18:19:58 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 211D916A4DB for ; Sat, 7 May 2005 18:19:58 +0000 (GMT) Received: from mailhost.u-strasbg.fr (mailhost.u-strasbg.fr [130.79.200.157]) by mx1.FreeBSD.org (Postfix) with ESMTP id 68FB743DB1 for ; Sat, 7 May 2005 18:19:57 +0000 (GMT) (envelope-from Philippe.Pegon@crc.u-strasbg.fr) Received: from sokaris.u-strasbg.fr (sokaris.u-strasbg.fr [IPv6:2001:660:2402::101])id j47IJtEN039094 ; Sat, 7 May 2005 20:19:55 +0200 (CEST) Received: from [192.168.0.100] (crc.u-strasbg.fr [IPv6:2001:660:2402:1001::1]) j47IJstt080666 ; Sat, 7 May 2005 20:19:55 +0200 (CEST) Message-ID: <427D07E0.4060109@crc.u-strasbg.fr> Date: Sat, 07 May 2005 20:24:32 +0200 From: Philippe PEGON User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050331) X-Accept-Language: fr, en MIME-Version: 1.0 To: regisr References: <20050507113916.15da1090.regisr@regix.com> In-Reply-To: <20050507113916.15da1090.regisr@regix.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (mailhost.u-strasbg.fr [IPv6:2001:660:2402::157]); Sat, 07 May 2005 20:19:55 +0200 (CEST) X-Antivirus: scanned by sophos at u-strasbg.fr cc: freebsd-questions@freebsd.org 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 18:19:58 -0000 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