Date: Sun, 13 Jan 2013 08:45:32 -0700 (MST) From: Warren Block <wblock@wonkity.com> To: kpneal@pobox.com Cc: Erich Dollansky <erichsfreebsdlist@alogt.com>, freebsd-questions@FreeBSD.org Subject: Re: gpart, glabel and newfs --> what am I doing wrong Message-ID: <alpine.BSF.2.00.1301130841310.15715@wonkity.com> In-Reply-To: <alpine.BSF.2.00.1301130834240.15715@wonkity.com> References: <20130112192220.617e28b6@X220.ovitrap.com> <alpine.BSF.2.00.1301120950120.7674@wonkity.com> <20130113080900.1a0045f8@X220.ovitrap.com> <20130113063621.GB63271@neutralgood.org> <alpine.BSF.2.00.1301130834240.15715@wonkity.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 13 Jan 2013, Warren Block wrote: > On Sun, 13 Jan 2013, kpneal@pobox.com wrote: > >> On Sun, Jan 13, 2013 at 08:09:00AM +0700, Erich Dollansky wrote: >>> For what is glabel then still good? >> >> It is still useful for partition schemes that don't have labels (eg, MBR) >> AND the filesystem used doesn't support labels itself AND the end of the >> partition does not get touched by the filesystem. > > But it doesn't matter what the filesystem does. Access to the last block is > not allowed by the label device. The filesystem does not even see it. See > my reply in -fs: > http://lists.freebsd.org/pipermail/freebsd-fs/2013-January/016113.html Sorry, forgot to mention that one possible use for glabel is to label a swap partition on an MBR drive. # glabel label myswap /dev/ada0s1b And then in /etc/fstab: /dev/label/myswap none swap sw 0 0 One block is used for metadata at the end of ada0s1b, but it's safe from overwriting because /dev/label/myswap does not include that block.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1301130841310.15715>
