NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: sync(1) not really syncing??



On Thu, Sep 11, 2008 at 02:04:18PM +0200, Jonathan Schleifer wrote:
> Am 11.09.2008 um 13:58 schrieb Ephaeton%gmx.net@localhost:
> 
> >Ah okay, now I see it in the manpage too. But it's in the BUGS
> >section. Can't we have a sync that stalls the system until its
> >buffers *really* are clean?
> 
> I hope you don't mean stall the system, but let sync(1) block until  
> it's done. I guess this is for historic reasons and because of the  
> syscall used by sync(1).

Yeah I mean having sync(2) block until it's "really" done. Which
could stall the system for quite a bit with big / many buffers around.


-Martin


Home | Main Index | Thread Index | Old Index