Re: partially encrypted filesystem

From: Linus Torvalds
Date: Thu Dec 04 2003 - 10:22:59 EST




On Thu, 4 Dec 2003, Jörn Engel wrote:
>
> Isn't that a problem already handled by all compressing filesystems?
> Or did I miss something really stupid?

Yes, compression and encryption are really the same thing from a fs
implementation standpoint - they just have different goals. So yes, any
compressed filesystem will largely have all the same issues.

And compression isn't very easy to tack on later either.

Encryption does have a few extra problems, simply because of the intent.
In a compressed filesystem it is ok to say "this information tends to be
small and hard to compress, so let's not" (for example, metadata). While
in an encrypted filesystem you shouldn't skip the "hard" pieces..

(Encrypted filesystems also have the key management issues, further
complicating the thing, but that complication tends to be at a higher
level).

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