Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 May 2011 07:51:02 -0500
From:      "Edwin L. Culp W." <edwinlculp@gmail.com>
To:        John Baldwin <jhb@freebsd.org>
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.
Message-ID:  <BANLkTinMWO5uhoiYOHYJ_1C8dnXFDbqL%2BQ@mail.gmail.com>
In-Reply-To: <201105030759.09518.jhb@freebsd.org>
References:  <BANLkTi=C9BZLn2J7=t1_dq1cwgcRa0JWNA@mail.gmail.com> <201105030759.09518.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 3, 2011 at 6:59 AM, John Baldwin <jhb@freebsd.org> wrote:
> On Tuesday, May 03, 2011 7:16:34 am Edwin L. Culp W. wrote:
>> I have two disks on this old machine that I have keep current sin
>> FreeBSD 6 IIRC as preparation for all the new goodies but this really
>> bit me in the morning with a generic kernel and had a heck of a time
>> getting it up.
>>
>> I have a new kernel with the new options.
>> =A0 =A0 =A0 =A0 =A0 =A0 options =A0 =A0 =A0 =A0ATA_CAM
>> =A0 =A0 =A0 =A0 =A0 =A0 device =A0 =A0 =A0 =A0 ahci
>> =A0 =A0 =A0 =A0 =A0 =A0 device =A0 =A0 =A0 =A0 mvs
>> =A0 =A0 =A0 =A0 =A0 =A0 device =A0 =A0 =A0 =A0 siis
>>
>> This =A0morning was such a shock that I am tempted to go back to the old
>> kernel config that I understand still works but gonna try to bite the
>> bullit.
>>
>> My fstab that I assume is still needed, is as before, although I had
>> changed ad4xx to ada4xx (etc) that I found was incorrect the HARD way
>> after trying to reboot;
>>
>> =A0/dev/ad4s1b =A0 =A0 =A0 =A0 =A0 =A0none =A0 =A0 =A0 =A0 =A0 =A0swap =
=A0 =A0sw =A0 =A0 =A0 =A0 =A0 =A0 =A00 =A0 =A0 =A0 0
>> =A0/dev/ad4s1a =A0 =A0 =A0 =A0 =A0 =A0/ =A0 =A0 =A0 =A0 =A0 =A0 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rw =A0 =A0 =A0 =A0 =A0 =A0 =A02 =A0 =A0 =A0 2
>>
>> I am totally confused on how these should now be.
>>
>> Any and all help appreciated.
>
> It will be ada0 rather than ad4. =A0With adaX the weird ATA_STATIC_ID stu=
ff is
> gone and ATA disks are now numbered starting from 0 just like SCSI disks =
use
> da0, da1, ... etc.
>
> --
> John Baldwin
>

Thanks, John.  I was afraid that was the answer. Now, II'm really
confused.  I'm guessing that the partitions will notl need to be shown
in fstab (ada0s1a).   What little mind I have left is a blank,
/dev/ad4s1g will be automatically be detected.  Is that correct?

What will I do with my second disk /dev/ad0s1a that is already zero?

I apologize but I have really confused myself.  I've filled my glass
with too much water and I'm drowning.

Thanks for everyone's patience.

ed

P.S.  If I am not the only idiot, maybe a couple of lines as an
example could go into UPDATING.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTinMWO5uhoiYOHYJ_1C8dnXFDbqL%2BQ>