Subject: Re: kern/21296: more file corruption since UFS2
To: Gregory McGarry <>
From: Jaromir Dolecek <>
List: netbsd-bugs
Date: 04/24/2003 11:45:16
Gregory McGarry wrote:
> I think it is because ffs1_din is not being cleared during allocation.
> Before ufs2 went in, memset() on the inode would have also cleared the
> dinode structure.
> Quite a few file-systems will exhibit this problem.

This is consistent with what I see on my system. I have a new kernel
(the one with the bitmap corruption fixed), and new fsck, and
recently the EBADF problem appeared for one directory
(fortunately just /var/chroot/named/usr).

Jaromir Dolecek <>  
-=- We should be mindful of the potential goal, but as the tantric    -=-
-=- Buddhist masters say, ``You may notice during meditation that you -=-
-=- sometimes levitate or glow.   Do not let this distract you.''     -=-