Re: file system unmount

Andreas Dilger (adilger@turbolabs.com)
Wed, 23 Jan 2002 10:03:57 -0700


On Jan 23, 2002 11:38 +0530, gspujar@hss.hns.com wrote:
> I am using softdog in my application. One of the problems I am facing is,
> when the system comes up after the reboot forced by softdog, file system
> gets corrupted and fsck has to check. Some times fsck fails to force check
> the file system and the system enters in to run level 1, leading to manual
> intervention.
>
> Any idea how to unmount the file system before the system is rebooted by
> softdog, so that system always comes up properly without manual intervention.

That is like asking for advance notice of system failures -> can't be done.

What you really want is a journaled filesystem (e.g. ext3 or resierfs)
which avoids the lengthy/troublesome fsck stage.

Cheers, Andreas

--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/

- 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/