Subject: Re: UFS2 problem or dump(8)?
To: None <current-users@netbsd.org>
From: Takahiro Kambe <taca@back-street.net>
List: current-users
Date: 05/01/2003 15:03:53
In message <tkrn0i7qqqs.fsf@memory-leak.sm.sony.co.jp>
	on 01 May 2003 12:40:11 +0900,
	enami tsugutomo <enami@sm.sony.co.jp> wrote:
> > While full dump(8) success, incremental dump(8) seems to refer out of
> > range disk block.
> 
> Try this (while there is another quetionalble code...).
Thanks.  But I can't reproduce the problem now.  I'll check if it
happened again.

> --- traverse.c	8 Apr 2003 10:02:23 -0000	1.39
> +++ traverse.c	1 May 2003 03:33:57 -0000
> @@ -322,7 +322,7 @@
>  			if (is_ufs2)
>  				blk = iswap64(di.dp2.di_ib[i]);
>  			else
> -				blk = iswap32(di.dp2.di_ib[i]);
> +				blk = iswap32(di.dp1.di_ib[i]);
Hmmm.  I wonder that my full dump(8) made really correct backups.

-- 
Takahiro Kambe <taca@back-street.net>