Jesper Juhl [Tue, Jun 14, 2005 at 05:58:36PM +0200]: > [sync twice, sync waits for sync] > > I believe sync in recent Linux's actually waits for the data to be > written and never returns early, so I don't think this is relevant any > more - and everyone uses shutdown these days anyway. But go read the > implementation of sync if you really want to know. Thanks for the detailled instructions. I'll have a look at the sync implementation to see how it really works. Anyway: As I am writing an init-system, I also have to write a shutdown procedure ;-) Greetings, Nico -- Keep it simple & stupid, use what's available. Please use pgp encryption: 8D0E 27A4 is my id. http://nico.schotteli.us | http://linux.schottelius.org
Attachment:
pgpUf5ndXFfXJ.pgp
Description: PGP signature
- References:
- Why is one sync() not enough?
- From: Nico Schottelius <[email protected]>
- Re: Why is one sync() not enough?
- From: Martin Waitz <[email protected]>
- Re: Why is one sync() not enough?
- From: Jesper Juhl <[email protected]>
- Why is one sync() not enough?
- Prev by Date: Re: [patch] Real-Time Preemption, -RT-2.6.12-rc6-V0.7.48-00
- Next by Date: [PATCH] set cpu_state for CPU hotplug
- Previous by thread: Re: Why is one sync() not enough?
- Next by thread: Re: Why is one sync() not enough?
- Index(es):