how do I tell FreeBSD to sync, for real ?
    user 
    user at dhp.com
       
    Tue Nov  8 23:07:16 GMT 2005
    
    
  
On Tue, 8 Nov 2005, David Kirchner wrote:
> On 11/8/05, user <user at dhp.com> wrote:
> > No, I'm not asking "why do I need to sync" ... I understand why I need to
> > wait, or issue a sync command.  No problems there.
> >
> > What I am asking is, why is one issuance of `sync` not enough ?  Why is
> > two not enough ?  Why do I need to issue 6 or 8 of them ?
> 
> Softupdates is why. If you disable softupdates (tunefs -n disable
> /dev/whatever) you shouldn't have to worry about the sync delay any
> more.
> 
> I do wish there was a way to force it to sync to disk on demand, though.
Yes, that is what I am looking for.  Well, a way besides:
sync ; sync ; sync ; sync ; sync ; sync ; echo "boy am I a jackass"
or:
mount -ur /mnt/fs ; mount -uw /mnt/fs ; echo "what a loser I am"
    
    
More information about the freebsd-questions
mailing list