Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jan 2009 15:36:34 -0200
From:      Eduardo Meyer <dudu.meyer@gmail.com>
To:        "Patrick M. Hausen" <hausen@punkt.de>
Cc:        stable@freebsd.org, questions@freebsd.org
Subject:   Re: switching bsdlabel's label
Message-ID:  <d3ea75b30901200936n15ae0b03m4c48ba55f3728d44@mail.gmail.com>
In-Reply-To: <20090120161355.GA28525@hugo10.ka.punkt.de>
References:  <d3ea75b30901200724o4bc9b515y71733fcb2f5808f9@mail.gmail.com> <20090120161355.GA28525@hugo10.ka.punkt.de>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Tue, Jan 20, 2009 at 2:13 PM, Patrick M. Hausen <hausen@punkt.de> wrote:
> Hello,
>
> On Tue, Jan 20, 2009 at 01:24:27PM -0200, Eduardo Meyer wrote:
>> I have a certain disk where da0s1a and da0s1d are inverted. By some
>> reason someone labelled root as 'd' and home as 'a'.
>>
>> Can I just
>>
>> bsdlabel -n da0s1 > savedabel.txt
>>
>> Edit savedlabel.txt, switch and restore? (bsdlabel -R da0s1 savedlabel)
>
> Why not simply use bsdlabel -e da0s1?

Because I didnt know about that? ;-)

Thank you for the hint.

However I still have the same doubt. Since basically its the same
task, Is it safe do relabel this way?

>
> Kind regards,
> Patrick
> --
> punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe
> Tel. 0721 9109 0 * Fax 0721 9109 100
> info@punkt.de       http://www.punkt.de
> Gf: J=FCrgen Egeling      AG Mannheim 108285
>



--=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Eduardo Meyer
pessoal: dudu.meyer@gmail.com
profissional: ddm.farmaciap@saude.gov.br



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?d3ea75b30901200936n15ae0b03m4c48ba55f3728d44>