From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail1.danielvalve.com ([12.19.96.6] helo=mail1.danielind.com) by pentafluge.infradead.org with esmtp (Exim 3.22 #1 (Red Hat Linux)) id 15ADJr-0003LD-00 for ; Wed, 13 Jun 2001 17:16:35 +0100 Message-ID: <3B2793B8.6DF379DF@daniel.com> Date: Wed, 13 Jun 2001 11:24:24 -0500 From: Vipin Malik MIME-Version: 1.0 To: David Woodhouse CC: Nicolas Pitre , Xavier DEBREUIL , linux-mtd@lists.infradead.org Subject: Re: root jffs2 References: <1933.992448679@redhat.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-mtd-admin@lists.infradead.org Errors-To: linux-mtd-admin@lists.infradead.org List-Help: List-Post: List-Subscribe: , List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: What about a "jffs2erase" routine that not only erases the flash sectors but also writes out this "signature" at the start of every erase block. This way one can mount an empty JFFS2 fs on a MTD partition erased by jffs2erase? Vipin David Woodhouse wrote: > nico@cam.org said: > > That was my belief. It seemed logical. I was aparently wrong. I > > too consider it a bug if it isn't that way. > > Agreed. But the alternative bug - erasing the whole device if we tried to > mount as jffs2 by mistake - was worse. > > -- > dwmw2