Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Mar 1996 19:08:36 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        adam@veda.is (Adam David)
Cc:        freebsd-current@freefall.freebsd.org
Subject:   Re: lost+found ???
Message-ID:  <199603240208.TAA08681@phaeton.artisoft.com>
In-Reply-To: <199603240048.AAA00428@veda.is> from "Adam David" at Mar 24, 96 00:48:08 am

next in thread | previous in thread | raw e-mail | index | archive | help
> >> What do I need to do?
> 
> >Nothing, fsck creates them as it needs them.
> 
> Does it still happily create lost+found as inode #2 if ".." is missing?
> Would it use inode #1 in the absence of the "." entry?

Tee hee hee.

Inode 1 is not use because historically it was used to chain the bad
blocks and some archive programs know this and refuse to back it up.

Inode #2 is the root inode.

Inode #3 is the traditional lost+found inode.

And no, fsck creates the lost+found as a normal directory, so it gets
whatever inode it gets (if you precreate it with newfs, it will get
inode 3).

Consider: you might rename lost+found.  The old fsck would still
put entries in it; the new one would make another lost+found.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



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