[plug] backup script

Craig Ringer craig at postnewspapers.com.au
Tue Nov 25 17:30:34 WST 2003


>>In fact, I'm currently running:
>>
>># sync && sync && sync && \
> 
> Something I've always been meaning to ask - is there ANY reason to do more 
> than one sync? I mean, one sync flushes filesystem buffers, so is there any 
> reason to do it multiple times in a row?

It's possible that it doesn't matter with ext3/reiser but (at least) 
with ext2 on older kernels there was some funny business with the way it 
synced that meant you needed to sync at least twice. I see no harm in 
it, just in case.

Craig Ringer

_______________________________________________
plug mailing list
plug at plug.linux.org.au
http://mail.plug.linux.org.au/cgi-bin/mailman/listinfo/plug


More information about the plug mailing list