From owner-freebsd-stable@FreeBSD.ORG Thu Feb 28 17:37:07 2008 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 7A71E106566B for ; Thu, 28 Feb 2008 17:37:07 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mail.bsdforen.de (bsdforen.de [212.204.60.79]) by mx1.freebsd.org (Postfix) with ESMTP id 29EB58FC1E for ; Thu, 28 Feb 2008 17:37:07 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mobileKamikaze.norad (p54A7BED2.dip.t-dialin.net [84.167.190.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bsdforen.de (Postfix) with ESMTP id CD10E405BA7; Thu, 28 Feb 2008 18:37:05 +0100 (CET) Message-ID: <47C6F13C.1000902@bsdforen.de> Date: Thu, 28 Feb 2008 18:37:00 +0100 From: Dominic Fandrey User-Agent: Thunderbird 2.0.0.9 (X11/20080205) MIME-Version: 1.0 To: Chris , FreeBSD Stable References: <42F1932C-6F6B-4077-8C15-294AA6CFB678@lafn.org> <20080228075647.GA33902@eos.sc1.parodius.com> <47C691F7.2080208@bulinfo.net> <3aaaa3a0802280639i5217bd64xe2c0e1a1a518e9d@mail.gmail.com> <20080228172201.GA8954@lava.net> In-Reply-To: <20080228172201.GA8954@lava.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: FreeBSD 7.0 Questions 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: Thu, 28 Feb 2008 17:37:07 -0000 Clifton Royston wrote: > On Thu, Feb 28, 2008 at 02:39:35PM +0000, Chris wrote: >> On 28/02/2008, Krassimir Slavchev wrote: >>> -----BEGIN PGP SIGNED MESSAGE----- >>> Hash: SHA1 >>> Jeremy Chadwick wrote: >>>> On Wed, Feb 27, 2008 at 11:15:30PM -0800, Doug Hardie wrote: >>>>> I have just installed 7.0 on some new hardware. Have never tried earlier >>>>> versions. There are a couple of unexpected items that I do not understand. >>>>> >>>>> 2. I have 2 SATA drives in the system. The first is recognized as ad10 >>>>> and the second as ad12. I expected to see ad0 and ad1. > ... >>>> Thus, never expect the adX devices to "start with 0". >>> If you want adX devices to "start with 0" just remove 'options >>> ATA_STATIC_ID' from the kernel config file but be very carefully if you >>> change hardware! > ... >> Ahh thats useful, on the occasions I have remotely installed freebsd >> over linux I have always failed due to incorrectly guessing the hd id >> and as such a wrong fstab, if I know it will always be ad0 and ad1 and >> so on it makes this much easier. > > And if you ever add a second drive, and it happens to be detected > first, expect a lot of work getting things working again. There are > good reasons for doing it this way, though you do get a choice. This is the fstab of my notebook: # Device Mountpoint FStype Options Dump Pass# /dev/label/2swap none swap sw 0 0 /dev/ufs/2root / ufs rw 1 1 /dev/ufs/2tmp /tmp ufs rw,async 2 2 /dev/ufs/2usr /usr ufs rw 2 2 /dev/ufs/2var /var ufs rw 2 2 I can take out the HD and boot from it via USB-adaptor or put it into another machine. It all doesn't matter, I don't care about device IDs at all. The geom label class has made life much easier. You only have to label the partitions with "tunefs -L" and the swap partition with "glabel label".