Subject: Re: /var gone away. How to restore...
To: C. K. <>
From: Manuel Bouyer <>
List: current-users
Date: 09/16/2007 21:25:57
On Sun, Sep 16, 2007 at 11:38:52AM -0700, C. K. wrote:
> Hi,
> Long story... after booting netbsd 4.99.29 notebook, i noticed error message
> that /var has problems and unmounted. Error was bad file descriptor.
> After running fsck -y /dev/wd0i, now /var is full of with lost+found/#*
> folders. 
> Is there anyway to recover and restore previous data?

I guess the root inode became corrupted.
Your data are in these directories in lost+found. By looking at the content
you may be able to guess the original name (/var/log, /var/spool, etc).
unfortunably this has to be done by hands.

Manuel Bouyer <>
     NetBSD: 26 ans d'experience feront toujours la difference