From owner-freebsd-questions@FreeBSD.ORG Tue Nov 10 23:47:40 2009 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 B0386106566B for ; Tue, 10 Nov 2009 23:47:40 +0000 (UTC) (envelope-from psteele@maxiscale.com) Received: from server505.appriver.com (server505a.appriver.com [98.129.35.4]) by mx1.freebsd.org (Postfix) with ESMTP id 7A8A98FC17 for ; Tue, 10 Nov 2009 23:47:40 +0000 (UTC) X-Policy: GLOBAL - maxiscale.com X-Primary: psteele@maxiscale.com X-Note: This Email was scanned by AppRiver SecureTide X-ALLOW: psteele@maxiscale.com ALLOWED X-Virus-Scan: V- X-Note: Spam Tests Failed: X-Country-Path: UNITED STATES->UNITED STATES->UNITED STATES X-Note-Sending-IP: 98.129.23.15 X-Note-Reverse-DNS: ht02.exg5.exghost.com X-Note-WHTLIST: psteele@maxiscale.com X-Note: User Rule Hits: X-Note: Global Rule Hits: 112 113 114 115 119 120 131 217 X-Note: Mail Class: ALLOWEDSENDER X-Note: Headers Injected Received: from [98.129.23.15] (HELO ht02.exg5.exghost.com) by server505.appriver.com (CommuniGate Pro SMTP 5.2.14) with ESMTPS id 16249386 for freebsd-questions@freebsd.org; Tue, 10 Nov 2009 17:47:38 -0600 Received: from mbx03.exg5.exghost.com ([169.254.1.164]) by ht02.exg5.exghost.com ([98.129.23.15]) with mapi; Tue, 10 Nov 2009 17:47:39 -0600 From: Peter Steele To: "freebsd-questions@freebsd.org" Date: Tue, 10 Nov 2009 17:47:38 -0600 Thread-Topic: Renaming USB device Thread-Index: AcpiXlvGRtIHHgXzTWS1poeSt2eRkAAAPlTw Message-ID: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3394F772@MBX03.exg5.exghost.com> References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3394F75F@MBX03.exg5.exghost.com> <20091111003430.a95d79c8.freebsd@edvax.de> In-Reply-To: <20091111003430.a95d79c8.freebsd@edvax.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: RE: Renaming USB device 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: Tue, 10 Nov 2009 23:47:40 -0000 >If you could elaborate more on the goal you are seeking, other useful info= rmation could come from this list. At the moment, it's just my wild guessin= g. :-) I have a bootable FreeBSD image on a USB stick that clones itself on the ta= rget system's hard drive, creating partitions and other configuration as de= fined in the cloning logic. The /etc/fstab on the USB image is hard coded t= o mount root (/) from /dev/da0s1a. However, other systems where the hard dr= ives use the same prefix as the USB stick, the fstab on the stick is incorr= ect (it would need to be /dev/da4s1a on systems with four SCSI drives since= those disks would be names da0-da3). So what we really want is a way to solve this problem--Have a generic boota= ble USB drive that doesn't need to have a custom fstab for different kinds = of systems.