Date: Mon, 13 Jul 2009 10:14:51 +0400 From: Eygene Ryabinkin <rea-fbsd@codelabs.ru> To: John Marshall <john.marshall@riverwillow.com.au> Cc: Marcel Moolenaar <xcllnt@mac.com>, freebsd-current@freebsd.org Subject: Re: 8.0-BETA1 bsdlabel broken? Message-ID: <dfUPAtOa9xF7cI3VricSQNdZT0M@CWODRlDR5RMqbkBfR0/UzHcfNhE> In-Reply-To: <20090713052209.GC982@rwpc12.mby.riverwillow.net.au> References: <20090710112631.GE32316@rwpc12.mby.riverwillow.net.au> <3a142e750907100433y307f9b2bya1dc54953bdf5de2@mail.gmail.com> <0B1F6799-2FAC-4C01-A978-42E247979CAB@mac.com> <1z5niluEh3OBPNSdMbOMyoEwzX4@CWODRlDR5RMqbkBfR0/UzHcfNhE> <267A655F-13A6-4D79-A933-3A78854AC5FD@mac.com> <TiR5kGIN59NiPk3Q5HjMiImYooQ@MbxgtlHN37ICHkxRO9kSrKasfoA> <A70794BC-F018-4F0A-9AF9-56E28D2B4845@mac.com> <LfBOtJAxBxAex2vUkLqeg/IZi/0@UL%2BEw68dotyeVWwcX17wEARTb1s> <OLkQkjh4JtvZ8Q7GFHMAD2ALVfs@UL%2BEw68dotyeVWwcX17wEARTb1s> <20090713052209.GC982@rwpc12.mby.riverwillow.net.au>
index | next in thread | previous in thread | raw e-mail
John, good day.
Mon, Jul 13, 2009 at 03:22:09PM +1000, John Marshall wrote:
> On Sun, 12 Jul 2009, 03:12 +0400, Eygene Ryabinkin wrote:
> > OK, changed the patch to make the described checks. And to fix the error
> > with the previous patch -- it will set the offset for writes to zero, so
> > it is better to use this patch variant for doing label writes and never
> > use the previous one for label modifications. Though it was doing the
> > proper thing for reads.
>
> Thank you! I applied this patch to bsdlabel.c and now the utility
> interprets the labels as expected.
Cool, thanks for the testing! Though, in order to enlarge the swap
you'll still need to use gpart or reboot into 7.x -- 8.x' bsdlabel won't
write labels back into disk. I am working on it, but have some $JOB
stuff to do before ;))
--
Eygene
_ ___ _.--. #
\`.|\..----...-'` `-._.-'_.-'` # Remember that it is hard
/ ' ` , __.--' # to read the on-line manual
)/' _/ \ `-_, / # while single-stepping the kernel.
`-'" `"\_ ,_.-;_.-\_ ', fsc/as #
_.-'_./ {_.' ; / # -- FreeBSD Developers handbook
{_.-``-' {_/ #
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dfUPAtOa9xF7cI3VricSQNdZT0M>
