On Thu, Aug 19, 2010 at 03:10:17PM +0200, Andre Noll wrote: > Silly question: Would it be possible to simply mmap a large enough > file for the data and and use e.g. rbtrees for the lookups? If yes, > osl [1] could probably be an option. It's very simple but likely too > slow on inserts to be useful for e2fsprogs. As I recall, you're on a 32-bit machine, right? If so, a limitation you may run into is simply running out of address space. If it's not an address space issue, we don't need to mmap anything; you could just try enabling swap, and use the existing e2fsck code. (I had assumed you had tried that before suggesting you use the scratch_files tdb approach....) - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html