Subject: Re: LFS inodes
To: None <tech-kern@netbsd.org>
From: Ignatios Souvatzis <ignatios@cs.uni-bonn.de>
List: tech-kern
Date: 10/24/2006 14:37:08
On Mon, Oct 23, 2006 at 09:19:04PM -0400, George Georgalis wrote:
> How does LFS allocate inodes, is there a fixed number set at newfs
> like for ffs or are they consumed from available disk space like
> reiserfs?
Probably not "like Reiserfs", but it consumes LFS segments like every other
filesystem component. The inode table is held in a file pointed to by a
"normal" inode without a directory entry.
For an explanation of the original 4.4BSD LFS implementation, see:
Margo Seltzer, Keith Bostic, Marshall Kirk McKusick, and Carl Staelin,
"An Implementation of a Log-Structured File System for UNIX",
Proceedings of the Winter 1993 USENIX Conference, San Diego, CA,
January 1993, 307-326.
http://citeseer.ist.psu.edu/article/seltzer93implementation.html
Regards,
-is