Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Apr 2011 17:14:49 -0700
From:      Garrett Cooper <yanegomi@gmail.com>
To:        Matthew Jacob <mj@feral.com>
Cc:        Alexander Motin <mav@freebsd.org>, Doug Barton <dougb@freebsd.org>, FreeBSD-Current <freebsd-current@freebsd.org>
Subject:   Re: Switch from legacy ata(4) to CAM-based ATA
Message-ID:  <BANLkTimWQMxSiKn1ZPuJWXPspa1o2kUOBQ@mail.gmail.com>
In-Reply-To: <alpine.BSF.2.00.1104201636240.94458@ns1.feral.com>
References:  <4DAEAE1B.70207@FreeBSD.org> <20110420203754.GM85668@acme.spoerlein.net> <4DAF46F8.9040004@FreeBSD.org> <BCE89DC7-116D-48E1-BD86-DF986062B0CC@samsco.org> <4DAF5FBA.8080304@FreeBSD.org> <BANLkTi=Um9Yr3jQWSmyunz6gZo=kGPVMKg@mail.gmail.com> <alpine.BSF.2.00.1104201636240.94458@ns1.feral.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 20, 2011 at 4:37 PM, Matthew Jacob <mj@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 =A0 =A0 / =A0 =A0 =A0 =A0 =A0 =A0 =A0 ufs =A0=
 =A0 rw =A01 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



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