Re: file system unmount

Juri Haberland (juri@koschikode.com)
Wed, 23 Jan 2002 12:21:37 +0100 (CET)


In article <65256B4A.003D4CD1.00@sandesh.hss.hns.com> you wrote:
>
>
> Hi,
> 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.

Bad idea. The point in using a watchdog is that you want to *reliably*
reboot your failed machine. What if your umount hangs for some reason?
(I've seen this...)

Use a journalling filesystem instead.

Juri

-- 
Juri Haberland  <juri@koschikode.com> 

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