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

From: Arnaud Lacombe <lacombar_at_gmail.com>
Date: Wed, 20 Apr 2011 21:00:28 -0400
Hi,

On Wed, Apr 20, 2011 at 6:38 PM, Garrett Cooper <yanegomi_at_gmail.com> wrote:
> On Wed, Apr 20, 2011 at 3:35 PM, Doug Barton <dougb_at_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.  We should all be using [...] mount-by-label
>>
>> +1
>>
>> When I first saw this on linux my gut reaction was "ewwww, different." But
>> 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>
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_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>
Received on Wed Apr 20 2011 - 23:00:29 UTC

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