From owner-freebsd-questions@FreeBSD.ORG Sat Feb 4 05:18:59 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C47921065674 for ; Sat, 4 Feb 2012 05:18:59 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmfepo203.cox.net (eastrmfepo203.cox.net [68.230.241.218]) by mx1.freebsd.org (Postfix) with ESMTP id 6634F8FC12 for ; Sat, 4 Feb 2012 05:18:59 +0000 (UTC) Received: from eastrmimpo306.cox.net ([68.230.241.238]) by eastrmfepo203.cox.net (InterMail vM.8.01.04.00 201-2260-137-20101110) with ESMTP id <20120204051853.JCNJ25070.eastrmfepo203.cox.net@eastrmimpo306.cox.net>; Sat, 4 Feb 2012 00:18:53 -0500 Received: from serene.no-ip.org ([98.164.86.55]) by eastrmimpo306.cox.net with bizsmtp id VhJt1i0011BeFqy02hJtpo; Sat, 04 Feb 2012 00:18:53 -0500 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A020203.4F2CBFBD.005F,ss=1,re=0.000,fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=1.1 cv=QFd1i8EmGWXMF/FLlwwalaY9IE87M3wXCJnHJtyYFmw= c=1 sm=1 a=G8Uczd0VNMoA:10 a=kj9zAlcOel0A:10 a=fdHYxQQoAueMHNSmXppgDg==:17 a=pGLkceISAAAA:8 a=s1O25tkdAAAA:8 a=kviXuzpPAAAA:8 a=d_nxRUFoF8RUgHAQTU8A:9 a=CjuIK1q_8ugA:10 a=RsOWqr72CHUA:10 a=MSl-tDqOz04A:10 a=OyOq_G8mXAEA:10 a=4vB-4DCPJfMA:10 a=fdHYxQQoAueMHNSmXppgDg==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; none Received: from cox.net (localhost [127.0.0.1]) by serene.no-ip.org (8.14.5/8.14.5) with ESMTP id q145Iq7a001588; Fri, 3 Feb 2012 23:18:52 -0600 (CST) (envelope-from conrads@cox.net) Date: Fri, 3 Feb 2012 23:18:47 -0600 From: "Conrad J. Sabatier" To: "bsalinux@gmail.com" Message-ID: <20120203231847.5279be28@cox.net> In-Reply-To: References: X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: fixating USB Storage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Feb 2012 05:18:59 -0000 On Thu, 2 Feb 2012 16:41:39 -0800 "bsalinux@gmail.com" wrote: > Please ignore, I forgot that I asked this before. Thanks. > > On Thu, Feb 2, 2012 at 4:38 PM, bsalinux@gmail.com > wrote: > > Hi, > > > > How can I fix a USB storage device to always have the same device > > name such as da9 irrespective of other da? devices present. > > > > Here is the device > > # usbconfig -u 4 -a 2 dump_info > > ugen4.2: at usbus4, cfg=0 md=HOST spd=HIGH > > (480Mbps) pwr=ON > > > > Thanks I don't know if anyone else has already mentioned it to you in response to this question, but I just very recently switched over to using volume labels to mount my partitions instead of device names. I was having an ongoing issue where this external USB drive's device number assignment would change from one boot to the next, toggling back and forth between da0 and da4 (strange!). Then just the other night, something led me to one of Warren Block's web pages describing how to easily label a volume and use that instead in /etc/fstab, so shifting device assignments no longer matter. How lovely! :-) Here it is, "FreeBSD Labeled Filesystems", by Warren Block http://www.wonkity.com/~wblock/docs/html/labels.html A regular little gem of knowledge that was to discover. :-) -- Conrad J. Sabatier conrads@cox.net