8.0-BETA1 bsdlabel broken?

Eygene Ryabinkin rea-fbsd at codelabs.ru
Mon Jul 13 06:14:55 UTC 2009


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
    {_.-``-'         {_/            #


More information about the freebsd-current mailing list