[TUHS] reboot(2) system call
    Dave Horsfall 
    dave at horsfall.org
       
    Tue Jul 28 14:06:32 AEST 2020
    
    
  
On Mon, 27 Jul 2020, Warner Losh wrote:
> I've done some research for a friend about when the reboot() system call 
> was added, and how it related to the sync, sync, sync dance. 
> https://bsdimp.blogspot.com/2020/07/when-unix-learned-to-reboot2.html
> 
> may be of interest. Please do let me know if I've gotten 
> something wrong...
Seems OK to me; I was taught never to use "sync; sync; sync" for precisely 
those reasons (the buffers may not have time to flush etc, as "sync" 
merely schedules the I/O, not cause it.
-- Dave
    
    
More information about the TUHS
mailing list