Date: Mon, 15 Dec 2014 15:18:41 -0700 (MST) From: Warren Block <wblock@wonkity.com> To: Kevin Oberman <rkoberman@gmail.com> Cc: FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>, Net Warrior <netwarrior863@gmail.com> Subject: Re: Mounting swap partition Message-ID: <alpine.BSF.2.11.1412151515490.3284@wonkity.com> In-Reply-To: <CAN6yY1u2xTw39y0HDLOabOKoB2gUH8jovN4yC8dz4sWSbRo2Lg@mail.gmail.com> References: <CAP7y58OKFZmCRiJACmBzptDtp58A1L16LJeUwKSm5tEnJtAx3w@mail.gmail.com> <548F071D.2000700@multiplay.co.uk> <548F115D.3080609@gmail.com> <CAN6yY1u2xTw39y0HDLOabOKoB2gUH8jovN4yC8dz4sWSbRo2Lg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 15 Dec 2014, Kevin Oberman wrote: > On Mon, Dec 15, 2014 at 8:50 AM, Net Warrior <netwarrior863@gmail.com> > wrote: > >> Hi Steve >> After disabling gpt and gptid at boot the swap is back >> >> root@:~ # swapinfo >> Device 1K-blocks Used Avail Capacity >> /dev/ada0p2 2097152 0 2097152 0% >> >> Thank you very much. >> > > 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) Umm.... > and use glabel to label swap. GPT labels are stored in the metadata, so swap can have a GPT label just like all the other partitions. Maybe you are thinking of UFS filesystem labels? > Now everything is named and there should never be any confusion. You can > see why I leave gpt labels enabled. Here is my fstab: > # Device Mountpoint FStype Options Dump Pass# > /dev/gpt/swap none swap sw 0 0 ^^^^^^^^^^^^^^^ That is a GPT label right there.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.11.1412151515490.3284>