Forcing fsck on boot

Les Mikesell lesmikesell at gmail.com
Fri Dec 16 23:24:36 UTC 2005


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.

-- 
  Les Mikesell
    lesmikesell at gmail.com




More information about the fedora-list mailing list