From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Korsgaard Subject: Re: RFC: direct MTD support for SquashFS Date: Tue, 16 Mar 2010 15:26:33 +0100 Message-ID: <87ljdsibqe.fsf@macbook.be.48ers.dk> References: <87vdcwv139.fsf@tac.ki.iif.hu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:received:from:to:cc :subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=JERSZ2UFhFvBBXeiIYa8bN1JEF0YZEZtBRwGV5WX29Y=; b=MdrqRLgxE96VYDUYKKikHgOvWyuVfhmz7m7hJx5urSwSM8+Mer0NHUl7tawVw4UBFc 1y89VfvibFIKYwbc0ALDE1WoVAVa5fhjAS8BNDseMHAdnmgBQoeVxKkV6YV6mMppS1Fd nlN5yqDEFZa7lQDVVOXPKkcUtEHB805xQeQrM= In-Reply-To: <87vdcwv139.fsf@tac.ki.iif.hu> (Ferenc Wagner's message of "Tue, 16 Mar 2010 14:38:02 +0100") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-mtd-bounces@lists.infradead.org Errors-To: linux-mtd-bounces+gldm-linux-mtd-36=gmane.org@lists.infradead.org To: Ferenc Wagner Cc: Phillip Lougher , linux-fsdevel@vger.kernel.org, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, linux-embedded@vger.kernel.org >>>>> "Ferenc" == Ferenc Wagner writes: Ferenc> Hi, Ferenc> In embedded systems, SquashFS over MTD would be a considerable Ferenc> win, as that would permit configuring without CONFIG_BLOCK. Ferenc> Please find attached a naive patch against 2.6.33 for this. It Ferenc> does not handle bad MTD blocks, that could be handled by gluebi Ferenc> (once you're willing to take the UBI overhead), or by a custom Ferenc> solution later. Ferenc> For now, 2.6.34 gained pluggable decompressors, so this patch Ferenc> does not apply anymore, though the main idea holds. My Ferenc> questions: is the community interested in integrating something Ferenc> like this, should this patch transformed into something Ferenc> acceptable, or am I a total lunatic? I don't know a thing Ferenc> about filesystem development, but willing to learn and Ferenc> refactor. Comments welcome. Nice, I have been thinking about that as well. What kind of size savings are you getting with this? CC'ing linux-embedded as this might be of interest there as well. -- Bye, Peter Korsgaard ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-bw0-f215.google.com ([209.85.218.215]) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1NrXjC-0001Eg-2f for linux-mtd@lists.infradead.org; Tue, 16 Mar 2010 14:26:42 +0000 Received: by bwz7 with SMTP id 7so4114848bwz.4 for ; Tue, 16 Mar 2010 07:26:36 -0700 (PDT) Sender: Peter Korsgaard From: Peter Korsgaard To: Ferenc Wagner Subject: Re: RFC: direct MTD support for SquashFS References: <87vdcwv139.fsf@tac.ki.iif.hu> Date: Tue, 16 Mar 2010 15:26:33 +0100 In-Reply-To: <87vdcwv139.fsf@tac.ki.iif.hu> (Ferenc Wagner's message of "Tue, 16 Mar 2010 14:38:02 +0100") Message-ID: <87ljdsibqe.fsf@macbook.be.48ers.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Phillip Lougher , linux-fsdevel@vger.kernel.org, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, linux-embedded@vger.kernel.org List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , >>>>> "Ferenc" == Ferenc Wagner writes: Ferenc> Hi, Ferenc> In embedded systems, SquashFS over MTD would be a considerable Ferenc> win, as that would permit configuring without CONFIG_BLOCK. Ferenc> Please find attached a naive patch against 2.6.33 for this. It Ferenc> does not handle bad MTD blocks, that could be handled by gluebi Ferenc> (once you're willing to take the UBI overhead), or by a custom Ferenc> solution later. Ferenc> For now, 2.6.34 gained pluggable decompressors, so this patch Ferenc> does not apply anymore, though the main idea holds. My Ferenc> questions: is the community interested in integrating something Ferenc> like this, should this patch transformed into something Ferenc> acceptable, or am I a total lunatic? I don't know a thing Ferenc> about filesystem development, but willing to learn and Ferenc> refactor. Comments welcome. Nice, I have been thinking about that as well. What kind of size savings are you getting with this? CC'ing linux-embedded as this might be of interest there as well. -- Bye, Peter Korsgaard