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 {_.-``-' {_/ #Received on Mon Jul 13 2009 - 04:14:54 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:51 UTC