Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Apr 2011 21:00:28 -0400
From:      Arnaud Lacombe <lacombar@gmail.com>
To:        Garrett Cooper <yanegomi@gmail.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:  <BANLkTimwSgFBYWW2oomdTHSbb%2BZ9HhBFUQ@mail.gmail.com>
In-Reply-To: <BANLkTi=Um9Yr3jQWSmyunz6gZo=kGPVMKg@mail.gmail.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>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Wed, Apr 20, 2011 at 6:38 PM, Garrett Cooper <yanegomi@gmail.com> wrote:
> On Wed, Apr 20, 2011 at 3:35 PM, Doug Barton <dougb@freebsd.org> wrote:
>> On 04/20/2011 15:18, Scott Long wrote:
>>>
>>> I agree with what Alexander is saying, but I'd like to take it a step
>>> further. =A0We should all be using [...] mount-by-label
>>
>> +1
>>
>> When I first saw this on linux my gut reaction was "ewwww, different." B=
ut
>> now that I've worked with it a bit, I really like it. Doing this by defa=
ult
>> 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? O=
r is
>> it even possible to do in a rational way?
>
> glabel create <label> /dev/<blah>
Just tested that with a kernel from HEAD and a 8.x userland. This does
not seem to survive a reboot.

 - Arnaud

> sed -i 's,/dev/<blah>,/dev/labels/<label>,g' /etc/fstab
>
> ?
>
> Thanks,
> -Garrett
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org=
"
>



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