Re: Why is one sync() not enough?

From: Coywolf Qi Hunt
Date: Wed Jun 15 2005 - 04:45:24 EST


On 6/15/05, Denis Vlasenko <vda@xxxxxxxxxxxxx> wrote:
> On Wednesday 15 June 2005 11:17, Helge Hafting wrote:
> > Nico Schottelius wrote:
> >
> > >Hello again!
> > >
> > >When my system shuts down and init calls sync() and after that
> > >umount and then reboot, the filesystem is left in an unclean state.
> > >
> > >If I do sync() two times (one before umount, one after umount) it
> > >seems to work.
>
> sync before umount is superfluous.

BTW, how about sysrq-s and sysrq-u? The same?
--
Coywolf Qi Hunt
http://ahbl.org/~coywolf/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/