From owner-svn-src-all@FreeBSD.ORG Sun Apr 24 16:38:12 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D120106570E; Sun, 24 Apr 2011 16:38:12 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5244D8FC14; Sun, 24 Apr 2011 16:38:10 +0000 (UTC) Received: by bwz12 with SMTP id 12so1912701bwz.13 for ; Sun, 24 Apr 2011 09:38:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:message-id:date:from:user-agent :mime-version:to:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=mQ9jtXZaWNdfFS3GnvVUOqcrM8JMxsoRNWgLSuNNJQ4=; b=EtxMusBv3DdupbHcT3lpAbBMmhSDv/1tyDyUA5tlPhpPF2opNd0ZCc73ANb2vVVpy1 9RFRcX3HMYwF5qN8hguzq9rTM9u/mcSgddiZ3FyKgcXAJ6AXEClTevbXETyMPgQyRnpa sg6nU19du34bEv0wFulTBRvFC9ens1qSACl2I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=eXIrC/clZRq7XZvhmyXFdbCfX8T/wekHduHrD+Rge54F/y7EEqQOmmscsiyr4bbh4F wt+CUqI76emE1Q3bTwrQ6LRuvHY/vVtKfQyqRN7uM4jP5U6pOaWqQZBSymr/qB2/sdRT eO1R5QUTU933q/8Fc3oIZYKdONXi8izAZPqHs= Received: by 10.204.74.218 with SMTP id v26mr665216bkj.76.1303663089903; Sun, 24 Apr 2011 09:38:09 -0700 (PDT) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id u15sm215732bkf.4.2011.04.24.09.38.08 (version=SSLv3 cipher=OTHER); Sun, 24 Apr 2011 09:38:09 -0700 (PDT) Sender: Alexander Motin Message-ID: <4DB451EF.8090301@FreeBSD.org> Date: Sun, 24 Apr 2011 19:38:07 +0300 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110310 Thunderbird/3.1.9 MIME-Version: 1.0 To: Andrey Chernov , src-committers@FreeBSD.ORG, svn-src-all@FreeBSD.ORG, svn-src-head@FreeBSD.ORG References: <201104240923.p3O9N8QG025386@svn.freebsd.org> <20110424161933.GA18775@vniz.net> In-Reply-To: <20110424161933.GA18775@vniz.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: svn commit: r220983 - head X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Apr 2011 16:38:12 -0000 On 24.04.2011 19:19, Andrey Chernov wrote: > On Sun, Apr 24, 2011 at 09:23:08AM +0000, Alexander Motin wrote: >> ATA device names in /etc/fstab or other places, make sure to update >> them respectively (adX -> adaY, acdX -> cdY, afdX -> daY, astX -> saY, >> - where 'Y's are the sequential numbers for each type in order of >> - detection, unless configured otherwise with tunables, see cam(4)). >> + where 'Y's are the sequential numbers starting from zero for each type >> + in order of detection, unless configured otherwise with tunables, >> + see cam(4)). > > Is there any way to guess resulting 'Y' numbers _before_ booting new > kernel? I have remote machine with console access almost impossible (very > hard for me). In most cases order of adaX devices should match order of ad devices, so first adX will become ada0, second - ada1, etc. The only exception there should be devices on ATA channels in legacy/ISA emulation mode: ata0 (ad0/ad1) and ata1 (ad2/ad3). Old ATA always allocated these devices first, but new ATA will allocate them as any other in order of their channels registration. That order you can see in dmesg. -- Alexander Motin