Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Dec 2014 15:38:50 -0800
From:      Kevin Oberman <rkoberman@gmail.com>
To:        Miroslav Lachman <000.fbsd@quip.cz>
Cc:        FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>
Subject:   Re: Mounting swap partition
Message-ID:  <CAN6yY1vweRkGdLDx=T2E=NntrSZj=vzcfqtVvc%2BJW_cwxXKTFA@mail.gmail.com>
In-Reply-To: <548F658A.7030306@quip.cz>
References:  <CAP7y58OKFZmCRiJACmBzptDtp58A1L16LJeUwKSm5tEnJtAx3w@mail.gmail.com> <548F071D.2000700@multiplay.co.uk> <548F115D.3080609@gmail.com> <CAN6yY1u2xTw39y0HDLOabOKoB2gUH8jovN4yC8dz4sWSbRo2Lg@mail.gmail.com> <548F658A.7030306@quip.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1vweRkGdLDx=T2E=NntrSZj=vzcfqtVvc%2BJW_cwxXKTFA>