Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 4 Oct 2001 14:38:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 4 Oct 2001 14:38:38 -0400 Received: from lightning.swansea.linux.org.uk ([194.168.151.1]:270 "EHLO the-village.bc.nu") by vger.kernel.org with ESMTP id ; Thu, 4 Oct 2001 14:38:29 -0400 Subject: Re: 100% sync block device on 2.2 ? To: pit@root.at (Karl Pitrich) Date: Thu, 4 Oct 2001 19:44:11 +0100 (BST) Cc: linux-kernel@vger.kernel.org In-Reply-To: from "Karl Pitrich" at Oct 04, 2001 04:35:46 PM X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: From: Alan Cox Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org > i wrote a block driver for a custom battery-backup'ed sram-isa card > which is io mapped. (kernel is 2.2.16, switch to 2.4.x impossible) > i have a minix fs on it. > everything works fine, except that i need my sram-disk _absolutely_ > in sync. i mounted -o sync, but the kernel does'nt seem to sync > immediately. > so after any reboot my data is corrupt, which is a problem. You cannot achieve what you are trying to do without a journalling or logging file system. JFFS and ext3 are available as 2.4 patches - 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/