Re: Forcing fsck on boot

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

 



On Fri, 2005-12-16 at 17:24 -0600, Les Mikesell wrote:
> On Fri, 2005-12-16 at 16:48, Jeff Vian wrote:
> 
> > Correct on creating the file and its function, but I would *never* use a
> > 'reboot' command without using 'sync;sync;sync;reboot'.   "reboot" does
> > not flush buffers, so if you fail to use the sync in that line, data in
> > the buffers may not be written to disk and filesystem or data corruption
> > may occur. It _has_ happened.
> 
> 
> >From 'man reboot':
>  If  halt or reboot is called when the system is not in
>  runlevel 0 or 6, in other words when it’s running normally,
>  shutdown  will  be  invoked instead  (with  the  -h  or -r
>  flag).
> 
> So normally, there is no difference.
> 

Thank you Les
I never use reboot so had not noted the change.  At  some time in the
now far distant past that was changed from the way it previously worked.

I appreciate the info and education on the changes.

Jeff


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux