On Tue, Oct 11, 2005 at 01:08:31AM -0400, Angelo Bertolli wrote: > I have a drive that I will be using for backup. It will be mounted only > when backups need to be made, and then unmounted. I was wondering if > there was any advantage to using sync vs async for this kind of a job. > Probably not since unmounting the drive will sync it.
Unmounting the drive does sync it. The only real use for sync is when `halt` actually did what it was supposed to do (another rant) and halted the machine - then you would want the os to flush its internal buffers. When you unmount a drive, all of the buffers are flushed. - Rob .
