From: phillip@lougher.demon.co.uk Subject: Re: partially encrypted filesystem Date: Mon, 08 Dec 2003 13:49:57 +0000 Sender: linux-kernel-owner@vger.kernel.org Message-ID: References: <1070882901.31993.72.camel@hades.cambridge.redhat.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: joern@wohnheim.fh-wedel.de, kbiswas@neoscale.com, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Return-path: To: "David Woodhouse" In-Reply-To: <1070882901.31993.72.camel@hades.cambridge.redhat.com> List-Id: linux-fsdevel.vger.kernel.org dwmw2@infradead.org wrote: > On Thu, 2003-12-04 at 18:20 +0000, Phillip Lougher wrote: > > Considering that Jffs2 is the only writeable compressed filesystem, yes. > > What should be borne in mind is compressed filesystems never expect > > the data after compression to be bigger than the original data. > > In fact that assumption is fairly trivial to remove, if you can put an > upper bound on the growth. Adding encryption of data to JFFS2 would > actually be fairly trivial; encryption of metadata would be harder. > I was pointing out it had to be considered. Modesty prevented me from mentioning that adding encryption of both data and metadata to Squashfs would be very easy :-) Phillip