From owner-freebsd-questions@FreeBSD.ORG Mon Jan 21 16:55:53 2008 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 3AAB716A417 for ; Mon, 21 Jan 2008 16:55:53 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr11.xs4all.nl (smtp-vbr11.xs4all.nl [194.109.24.31]) by mx1.freebsd.org (Postfix) with ESMTP id C35BC13C459 for ; Mon, 21 Jan 2008 16:55:52 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr11.xs4all.nl (8.13.8/8.13.8) with ESMTP id m0LGtpCw028143; Mon, 21 Jan 2008 17:55:51 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id A66D7B832; Mon, 21 Jan 2008 17:55:51 +0100 (CET) Date: Mon, 21 Jan 2008 17:55:51 +0100 From: Roland Smith To: Rakhesh Sasidharan Message-ID: <20080121165551.GB50246@slackbox.xs4all.nl> Mail-Followup-To: Rakhesh Sasidharan , freebsd-questions@freebsd.org References: <20080120161831.L62033@obelix.home.rakhesh.com> <20080120142042.GA8576@slackbox.xs4all.nl> <20080121085409.T1673@obelix.home.rakhesh.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LpQ9ahxlCli8rRTG" Content-Disposition: inline In-Reply-To: <20080121085409.T1673@obelix.home.rakhesh.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: Fixing a USB disk to a specific device name 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: Mon, 21 Jan 2008 16:55:53 -0000 --LpQ9ahxlCli8rRTG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 21, 2008 at 08:56:32AM +0400, Rakhesh Sasidharan wrote: >=20 >>> What I'd like to know is whether there's any way for me to ensure that = the >>> da0 disk always appears as da0. I don't want it that tomm I plug in ano= ther >>> disk (or change the order of disks, though I'll be more careful with th= at) >>> and suddenly da0 is no longer at da0! That would hamper the boot process >>> ... not nice. >>=20 >> It is possible, but not as daX. Use the glabel(8) utility to label your >> disks. They will show up as /dev/label/ >>=20 >> The daX devices are created as the device is plugged in, so AFAIK it's >> impossible to permanently assign them a certain daX device. >=20 > Just mentioning this for archival purposes. >=20 > If you are mounting a device as /dev/label/ at boot time, it= =20 > will fail unless you add a ''geom_label_load=3D"YES"'' to your=20 > /boot/loader.conf file. Had me stumped for a while. This loads the geom= =20 > label module at boot time and so labels are recognized. On 7.0-PRERELEASE, 'options GEOM_LABEL' is built into of the GENERIC kernel, so it shouldn't be necessary there. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --LpQ9ahxlCli8rRTG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHlM6XEnfvsMMhpyURAs39AJwKUM5YOAWf+Chzrlvqt1FdZ19XigCghLU+ Ard53cdD0aiJAZ6B3HdvdtI= =+bA+ -----END PGP SIGNATURE----- --LpQ9ahxlCli8rRTG--