From owner-freebsd-current@FreeBSD.ORG Wed May 4 16:03:06 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 462EE1065670 for ; Wed, 4 May 2011 16:03:06 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id F13418FC0A for ; Wed, 4 May 2011 16:03:05 +0000 (UTC) Received: by yxl31 with SMTP id 31so569523yxl.13 for ; Wed, 04 May 2011 09:03:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=VAkJh/BW09PDoJ5r6aVe+mzFXWsPRw56LusGehEDfO4=; b=B0WaZl6aW+cbCvqG3h2ImuzSnPH45XwnM1tKbKWJb8bJc/g7loG7qHL3pLZG/lNJAe iAF8eBasvS79mssvKz8xf5UTAC7gdMp0kqSPgKLJXL7FuKxNda0PiH46d6jM+/GttMa8 0NtrsVkAcIh73sj7yyVXOzUNTmr9YjjxZWb4I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Zmx7cRVAeDnr7AmVnOe1p037Uc6/bj5MTwl9HnyJ6QhGnHryDT/RnafF73Vfy4rnqk SItcANAvRQbr7RnAJSI3cFIR61t4YNetUgSfsneMjuMsLLZvVEmJVkFAAbdsOTjUOxke OijzGqPtkmyuuZGwEk8xEpfZKDH1w2HGeBcGI= MIME-Version: 1.0 Received: by 10.91.161.6 with SMTP id n6mr1240310ago.86.1304524985131; Wed, 04 May 2011 09:03:05 -0700 (PDT) Received: by 10.90.52.15 with HTTP; Wed, 4 May 2011 09:03:05 -0700 (PDT) In-Reply-To: References: <201105030759.09518.jhb@freebsd.org> <201105031002.36612.jhb@freebsd.org> <20110504031312.GA78390@DataIX.net> Date: Wed, 4 May 2011 09:03:05 -0700 Message-ID: From: Freddie Cash To: krad Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org Subject: Re: I am very confused and would appreciate some help on device renameing or on renumbering on current fstab. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 May 2011 16:03:06 -0000 On Wed, May 4, 2011 at 8:16 AM, krad wrote: > On 4 May 2011 04:13, Jason Hellenthal wrote: >> Edwin, >> >> >>> >> =C2=A0/dev/acd0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/= cdrom =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0cd9660 =C2=A0ro,noauto =C2=A0 =C2= =A0 =C2=A0 0 >> =C2=A0 =C2=A0 0 >> >>> >> =C2=A0/dev/acd1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/= cdrom1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 cd9660 =C2=A0ro,noauto =C2=A0 =C2=A0 =C2= =A0 0 >> =C2=A0 =C2=A0 0 >> >> As a side note. These are also now useless & can be sent to /dev/null fo= r >> extra padding ;) >> >> Shouldn't cause no harm being there but just for reference. >> > Just a sanity check here people, but if the machine was built with freebs= d > 6.x i would guess it machine is a few years old. If so i doubt the hardwa= re > would support ahci, and therefore wouldn't have the ada type devices, it > would have the old ad style ata ones and therefore noe fstab twiddling > should be necessary. > > Forgive me if im missing something here. If you enable "options ATA_CAM" in the kernel, which uses the old ata(4) driver via some cam(4) shims, then you also get the adaX device nodes. There's currently 4 ways to access PATA/SATA disks: - old-style ata(4) using adX device nodes - old-style ata(4) using ataahci(4) for ACHI-like access to PATA/SATA disks, I believe using adX - old-style ata(4) via ATA_CAM using adaX device nodes - new-style ahci(4)/siis(4)/another(4) using adaX device nodes I forget the name of the other AHCI-style driver. The first two options uses atacontrol to manage the disks. The last two options use camcontrol to manage the disks. I believe the plan in 9.0 is to have everything accessed via ATA_CAM/ahci(4) so all PATA/SATA drives show up the same, as adaX, with everything being managed via camcontrol, finally unifying all PATA/SATA/SCSI/SAS disk access via cam(4). --=20 Freddie Cash fjwcash@gmail.com