[Discuss] EXT2 Maximum number of directories?

Noel Burton-Krahn noel at burton-krahn.com
Fri Jun 23 22:32:56 PDT 2006


Just a thought:  If you want to use something like a filesystem with 1000's 
of files as a database, have you considered implementing your own filesystem 
driver with a database backend?

FUSE (http://fuse.sourceforge.net/) lets you write user-space filesystem 
drivers.  You can even implement a filesystem driver in Python. I'm thinking 
you could implement  a filesystem that stores your 1000's of files in a 
single SQLite db.  How about that?  It would be very fast, have low overhead 
per file, and still have nice filesystem-like semantics.

RelFS (http://relfs.sourceforge.net/) looks like something along those 
lines.

--Noel

----- Original Message ----- 
From: "pw" <p.willis at telus.net>
To: <discuss at vlug.org>
Sent: Friday, June 23, 2006 6:49 PM
Subject: Re: [Discuss] EXT2 Maximum number of directories?


> Lionel Widdifield wrote:
>> On Thu, Jun 22, 2006 at 05:12:22PM -0700, pw wrote:
>>
>>>> If you're looking for a filesystem to function as a mostly readonly
>>>>database try reiser, as it is easily an order(or 2) of magnitude faster 
>>>>in this
>>>>case.
>>>>
>>>
>>>Sounds like a plus.
>>>How much space does reiser journalling take up.
>>
>>
>>  Ahh yes the downside. Minimum of 32M for the log if I recall correctly.
>> I was partitioning a 512M drive, was a while ago.
>>
>
>
> Is that a proportional thing?
>
> ie:
>
> 32M / 512M = 6% Log
>
> So, for a 160 gig drive  9.6 gig log
> 1TB -> 60 gig log...(??)
>
> Peter
> _______________________________________________
> Discuss mailing list
> Discuss at vlug.org
> http://ladybug.vlug.org/cgi-bin/mailman/listinfo/discuss
> 



More information about the Discuss mailing list