From owner-freebsd-stable@FreeBSD.ORG Mon Dec 15 23:38:51 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E040FD6E for ; Mon, 15 Dec 2014 23:38:50 +0000 (UTC) Received: from mail-ig0-x229.google.com (mail-ig0-x229.google.com [IPv6:2607:f8b0:4001:c05::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A31C3D4C for ; Mon, 15 Dec 2014 23:38:50 +0000 (UTC) Received: by mail-ig0-f169.google.com with SMTP id hl2so6835095igb.2 for ; Mon, 15 Dec 2014 15:38:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=f9vlMp8e5v8oQvQkvB15U+A6Vm8//q3fkPjerIJNvkw=; b=T30SaheEyKo7WaBH4WAN7tXruB2TxsHO7QtFjR8TqLMRLlLcBjH993FM9ZSbgKtj65 mDf3HF23aovP3I1MRAuwHVuDCXNdGm/ApWUx80V9aTFfgqNrGkXpWpH4TQN2PeTwEd7J I+9w/+6maCuL7crltLs5sG0VnAuRXheuPMo3MwOeeUcNUI+f1/tNjfXdYCcE9X2zwlmb +iIK3QF55sFzdz9Ovfa96Ik814b3hHkWrwXg/aTuB9ypIuu5qD7BGDUKbAs4yfb11rzT YDxhDz0jofGHjsQXiL/b2NbSraL3FVLec5YpBzfdFGIl9P+ywrKVX0PgOm9V7a1IGobg AfmQ== MIME-Version: 1.0 X-Received: by 10.107.168.18 with SMTP id r18mr31554088ioe.76.1418686730089; Mon, 15 Dec 2014 15:38:50 -0800 (PST) Sender: kob6558@gmail.com Received: by 10.107.52.19 with HTTP; Mon, 15 Dec 2014 15:38:50 -0800 (PST) In-Reply-To: <548F658A.7030306@quip.cz> References: <548F071D.2000700@multiplay.co.uk> <548F115D.3080609@gmail.com> <548F658A.7030306@quip.cz> Date: Mon, 15 Dec 2014 15:38:50 -0800 X-Google-Sender-Auth: stSCaqXG9mUB9W86SlHpSgzOMgU Message-ID: Subject: Re: Mounting swap partition From: Kevin Oberman To: Miroslav Lachman <000.fbsd@quip.cz> Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD-STABLE Mailing List X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Dec 2014 23:38:51 -0000 On Mon, Dec 15, 2014 at 2:49 PM, Miroslav Lachman <000.fbsd@quip.cz> wrote: > Kevin Oberman wrote on 12/15/2014 23:11: > > While this works, I find it best to leave gpt in place and then use gpart >> to label all partitions (except swap which does not support it) and use >> glabel to label swap. >> Now everything is named and there should never be any confusion. >> > > Best ... and you can never attach another disk with the same labels (same > naming scheme, probably your disk from another computer for recovery). > > Miroslav Lachman > > True. I label my backup media with "bak" appended to the label. This does prevent confusing the original with the backup, but does not work with dd(1) for the entire disk. Since I don't do this for my backups, that is not an issue. And, thanks, Warren for catching my faux pas. I was remembering the old UFS labels. -- R. Kevin Oberman, Network Engineer, Retired E-mail: rkoberman@gmail.com