From owner-freebsd-stable@FreeBSD.ORG Sun May 15 05:26:39 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 D8CB7106564A for ; Sun, 15 May 2011 05:26:39 +0000 (UTC) (envelope-from bruce@hawaii-pacific.com) Received: from mout.perfora.net (mout.perfora.net [74.208.4.194]) by mx1.freebsd.org (Postfix) with ESMTP id A4F738FC13 for ; Sun, 15 May 2011 05:26:39 +0000 (UTC) Received: from [192.168.1.4] (65-113-119-247.dia.static.qwest.net [65.113.119.247]) by mrelay.perfora.net (node=mrus2) with ESMTP (Nemesis) id 0LymY3-1Pg0qh2fl1-015yRc; Sun, 15 May 2011 01:14:06 -0400 Message-ID: <4DCF6108.1060403@hawaii-pacific.com> Date: Sat, 14 May 2011 19:13:44 -1000 From: bruce@hawaii-pacific.com User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.19) Gecko/20110429 SeaMonkey/2.0.14 MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <4DCC5358.4050705@chef-ingenieur.de> <34458417-0D7A-493E-8C52-F3095000D764@gsoft.com.au> <4DCE9A88.2030500@chef-ingenieur.de> <099343A5-890F-464D-89DF-593DB7C651FF@gsoft.com.au> In-Reply-To: <099343A5-890F-464D-89DF-593DB7C651FF@gsoft.com.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:t5TiqdLuoXT5OUodKo9T/cTovndBL8/xR6HytiJUjd2 zLGnLfRK9/DuLlRK2VwmFOdY12B0tdLyoGVfmRUzetiSO9NksB cNas/3w5UB/mkjt1+74nDa8FIPv1T0HtcBhdusC3fQqjGOUsIN Eg4wERLfmUNFmEJ7sqili8D9ISfF/SYQsVEQPZNVIs3APm/8PW COf5Yo4chyrAJyfMBqbGtbTsdbaXvNpMBDo0NwFetg= 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: Sun, 15 May 2011 05:26:39 -0000 Daniel O'Connor wrote: > On 15/05/2011, at 24:36, Thomas Krause wrote: > >> 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 ...) >> > I think the following will work.. > > hint.scbus.0.at="twa0" > hint.da.0.at="scbus1" > > hint.scbus.1.at="umass-sim0" > hint.da.1.at="scbus0" > > Unfortunately I can't check the system I tested this on at the moment. > > I would strongly suggest you use glabel& UFS IDs (or GPT IDs if you used GPT when installing) in fstab rather than wiring device nodes. > > -- > Daniel O'Connor software and network engineer > for Genesis Software - http://www.gsoft.com.au > "The nice thing about standards is that there > are so many of them to choose from." > -- Andrew Tanenbaum > GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C > > > > > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > > I think I have an answer to your problem. "man glabel". Backup all data first! glabel label -v usr /dev/da1 newfs /dev/label/usr mount /dev/label/usr /usr [...] umount /usr glabel stop usr glabel unload I got that unload is unavailable but it everything worked for me. Check the man page. Hope this helps. Bruce