Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jun 1997 07:20:11 +0200
From:      j@uriah.heep.sax.de (J Wunsch)
To:        freebsd-hackers@FreeBSD.ORG
Cc:        brianc@pobox.com (Brian Campbell)
Subject:   Re: fs recovery
Message-ID:  <19970620072011.RM43153@uriah.heep.sax.de>
In-Reply-To: <19970619173858.39930@pobox.com>; from Brian Campbell on Jun 19, 1997 17:38:58 -0400
References:  <19970619173858.39930@pobox.com>

next in thread | previous in thread | raw e-mail | index | archive | help
As Brian Campbell wrote:

> I used fsdb to look at the first 150k inodes and found an expected
> mixture of directories and inodes.  Is there an easy way to recreate
> my root directory and link some of these directories (presumably
> the ones whose parent was inode 2?  how do I find that out?) into
> the root?

What happens if you recreate inode 2 as an (empty) root directory, and
leave the rest to fsck?  IMHO, it should find the orphaned members of
the previous root directory, and drop them into lost+found.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970620072011.RM43153>