Re: link() security

H. Peter Anvin (hpa@zytor.com)
Mon, 15 Apr 2002 16:14:19 -0700


Alan Cox wrote:
>>>And then unrealized when they hit performance limitations. Its a trade off
>>>and one that most news systems seem to prefer to use a custom database
>>>for
>>
>>Well, a database is basically a custom filesystem.
>
> I would have to disagree. There are fundamentally different transaction
> semantics between the two as well as indexing constraints. I can't for
> example find commit() and rollback() in posix.1 8)
>

OK, perhaps I should have been more explicit...

A filesystem is *one kind* of database.

The operations that various databases implement differ -- not all
databases have commit()/rollback(), nor do all of them implement
relationals, object linking, etc.

The point was mostly that storing mail in a (basically) unstructured
flat-file format isn't really consistent with the operations you want to
perform on it. I didn't mean the directory/file format was necessarily
the ultimate solution, only that (a) it works better than mbox, (b) it's
been around for a long time.

-hpa

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/