From owner-freebsd-questions@FreeBSD.ORG Sat May 7 13:10:14 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 D8F1D16A4DA for ; Sat, 7 May 2005 13:10:14 +0000 (GMT) Received: from kraid.nerim.net (smtp-106-saturday.nerim.net [62.4.16.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DFD743DA4 for ; Sat, 7 May 2005 13:10:14 +0000 (GMT) (envelope-from regisr@regix.com) Received: from crocoite.home.regix.com (regisr.net1.nerim.net [62.212.109.60]) by kraid.nerim.net (Postfix) with SMTP id BF16E40EFD for ; Sat, 7 May 2005 15:10:12 +0200 (CEST) Date: Sat, 7 May 2005 15:09:58 +0200 From: regisr To: freebsd-questions@freebsd.org Message-Id: <20050507150958.6254e522.regisr@regix.com> In-Reply-To: <20050507113916.15da1090.regisr@regix.com> References: <20050507113916.15da1090.regisr@regix.com> X-Mailer: Sylpheed version 1.0.4 (GTK+ 1.2.10; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 13:10:15 -0000 >> 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. But the device is not connected at boot time, it is an SCSI device, I can't known the device name ( passN ) ... The number can change if I plug USB devices or power up SCSI device in different order...