From owner-freebsd-stable@FreeBSD.ORG Tue Jan 20 17:36:36 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1737F1065672; Tue, 20 Jan 2009 17:36:36 +0000 (UTC) (envelope-from dudu.meyer@gmail.com) Received: from mail-gx0-f21.google.com (mail-gx0-f21.google.com [209.85.217.21]) by mx1.freebsd.org (Postfix) with ESMTP id AF1518FC13; Tue, 20 Jan 2009 17:36:35 +0000 (UTC) (envelope-from dudu.meyer@gmail.com) Received: by gxk14 with SMTP id 14so3812861gxk.19 for ; Tue, 20 Jan 2009 09:36:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=IjQozoAZExgEYyREsLAK41zrfIgrzx+Rur6Yjrpfxdk=; b=bAn9fRXxA582TcY5s1aowJNw1FTTBgx8L+ey0iAps/Tx5avkwQtoq3wkxU01/9k2Tb Zy6jHjuLWHnzPvbMmhO14Fi/ObC9YYvxWHv8LuWcorwRFm0nNXeOX1V5KYyZ6aSJ8/ih T2i52N/+KFXDqZe+tXtZ6u8J0LGgN3KO8R3CU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=EblYOvOmxioKz/kspnnKrFbzrH38VmpKawC4JS5av55ZI6BmeA3UzqKwUxBV0x5ob5 6YdsSkFOrfOBPv6hn22+xX1J6mNa0wYJCkPZzHuu58FmdzpftjoMFiksKtc3w2T7TadV aOzJVepKtUS5NqNAGfFfQXQkSFLsU5rdgjeDI= MIME-Version: 1.0 Received: by 10.142.203.19 with SMTP id a19mr192960wfg.310.1232472994109; Tue, 20 Jan 2009 09:36:34 -0800 (PST) In-Reply-To: <20090120161355.GA28525@hugo10.ka.punkt.de> References: <20090120161355.GA28525@hugo10.ka.punkt.de> Date: Tue, 20 Jan 2009 15:36:34 -0200 Message-ID: From: Eduardo Meyer To: "Patrick M. Hausen" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: stable@freebsd.org, questions@freebsd.org Subject: Re: switching bsdlabel's label X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jan 2009 17:36:36 -0000 On Tue, Jan 20, 2009 at 2:13 PM, Patrick M. Hausen 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