From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 00:04:27 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 A347B16A4CE for ; Thu, 3 Mar 2005 00:04:27 +0000 (GMT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB12943D54 for ; Thu, 3 Mar 2005 00:04:26 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.1) id j2304Etr096131; Wed, 2 Mar 2005 18:04:14 -0600 (CST) (envelope-from dan) Date: Wed, 2 Mar 2005 18:04:14 -0600 From: Dan Nelson To: John Pettitt Message-ID: <20050303000414.GF77052@dan.emsphone.com> References: <42264DC5.6030409@cloudview.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42264DC5.6030409@cloudview.com> X-OS: FreeBSD 5.3-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.8i cc: freebsd-questions@freebsd.org Subject: Re: Stable device names for USB disks? 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: Thu, 03 Mar 2005 00:04:27 -0000 In the last episode (Mar 02), John Pettitt said: > > I seem to recall there was a neat trick involving GEOM to allow USB > disks to be mounted in the same place every time the system boots but I > can't find it. Right now my system (5.3 RELEASE) seems to being a > random da? device for each drive that changes with every reboot - > clearly not a good situation. > > Does anybody have a fix for this? Two options: - Wire your devices down (man scsi) so that your usb controller is always, say, scbus1, and target 0 off scbus1 is da1. You may also have to wire down your boot controller and disk. - Use geom_label, label your FAT32 or ufs filesystems, and always mount /dev/msdosfs/blah or /dev/ufs/blah -- Dan Nelson dnelson@allantgroup.com