[Ocfs2-tools-devel] fsck, lost+found, libocfs2 allocating

Zach Brown zach.brown at oracle.com
Mon Nov 22 16:27:18 CST 2004


> Just to make sure I completely understand, the end result wrt lost+found
> creation will be that mkfs puts it on a newly created file system? I guess
> fsck should be able to create it too if it doesn't exist...

fsck has to create it if it doesn't exist, yeah, so I'm tempted to not
bother creating it in mkfs at all.  mke2fs does, though, so it is
probably reasonable to do it as well :)

> feel inclined to and besides, in the worst situation it's prolly better to
> exhaust all suballocators first before growing any.

it's only like 10 lines of code to iterate over max_nodes and stop when
one works :)

- z




More information about the Ocfs2-tools-devel mailing list