switching bsdlabel's label

Eduardo Meyer dudu.meyer at gmail.com
Tue Jan 20 09:36:36 PST 2009


On Tue, Jan 20, 2009 at 2:13 PM, Patrick M. Hausen <hausen at 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 at punkt.de       http://www.punkt.de
> Gf: Jürgen Egeling      AG Mannheim 108285
>



-- 
===========
Eduardo Meyer
pessoal: dudu.meyer at gmail.com
profissional: ddm.farmaciap at saude.gov.br


More information about the freebsd-questions mailing list