From owner-freebsd-stable@FreeBSD.ORG Sat May 14 15:06:48 2011 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD9D11065670 for ; Sat, 14 May 2011 15:06:48 +0000 (UTC) (envelope-from freebsd-stable@chef-ingenieur.de) Received: from mail.webmatic.de (mail.webmatic.de [212.78.101.66]) by mx1.freebsd.org (Postfix) with ESMTP id 8CD008FC12 for ; Sat, 14 May 2011 15:06:48 +0000 (UTC) Received: from [127.0.0.1] (p54B7FAAD.dip.t-dialin.net [84.183.250.173]) by mail.webmatic.de (Postfix) with ESMTPSA id A99A26D4A6; Sat, 14 May 2011 17:06:46 +0200 (CEST) Message-ID: <4DCE9A88.2030500@chef-ingenieur.de> Date: Sat, 14 May 2011 17:06:48 +0200 From: Thomas Krause User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: Daniel O'Connor , freebsd-stable References: <4DCC5358.4050705@chef-ingenieur.de> <34458417-0D7A-493E-8C52-F3095000D764@gsoft.com.au> In-Reply-To: <34458417-0D7A-493E-8C52-F3095000D764@gsoft.com.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: setting usb disc to da1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 May 2011 15:06:48 -0000 I've plugged a USB disc to a FreeBSD System and it's dedected as da1: >> da1: Fixed Direct Access SCSI-2 device >> >> But when rebooting the machine, it becomes da0 and I cannot boot the >> system. What's the trick to set the USB disc to da1 permanent? > You can, to some degree, wire the device with.. > hint.scbus.0.at="umass-sim0" > hint.da0.at="scbus0" > > However I would recommend using GPT IDs, UFS IDs or GEOM labels in fstab so the underlying device name is irrelevant. > > Daniel, I'm not sure with /boot/devices.hint. Could you give me a hint, how to set # camcontrol devlist at scbus0 target 0 lun 0 (da0,pass0) at scbus1 target 0 lun 0 (pass1,da1) the Samsung G3 permanently to da1 (the AMCC must be da0). (This is a productive system and I don't want to do tests ...) Thank you! Regards, Thomas.