Re: Switch from legacy ata(4) to CAM-based ATA

From: Garrett Cooper <yanegomi_at_gmail.com>
Date: Wed, 20 Apr 2011 17:14:49 -0700
On Wed, Apr 20, 2011 at 4:37 PM, Matthew Jacob <mj_at_feral.com> wrote:
>
>>> now that I've worked with it a bit, I really like it. Doing this by
>>> default
>>> in 9.0 would be a really useful step forward, and would allow greater
>>> innovation down the road.
>>>
>>> Is there a handy tutorial somewhere for making this change in FreeBSD? Or
>>> is
>>> it even possible to do in a rational way?
>>
>> glabel create <label> /dev/<blah>
>> sed -i 's,/dev/<blah>,/dev/labels/<label>,g' /etc/fstab
>>
>
> or, dumpfs /dev/ad0a (or whatever it is) to get the UFS id, and do that, as
> in:
>
>
> /dev/ufsid/4cbfaf39a70e852e     /               ufs     rw  1 1

    Same basic idea works for other filesystems according to the
glabel manpage. It's just that the above method is pretty
straigtforward to deal with and won't change if you newfs a partition,
right :) (only if you wipe out whatever is used on the backend for
holding the partition data)?
Thanks,
-Garrett
Received on Wed Apr 20 2011 - 22:14:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:13 UTC