|
Unix systems hate 2 things most :
Power outage
Dirty shutdown (mind you its almost the same as previous... this is pressing the turn off button..)
If you are not using journalized filesystems and you do the previous, you will see that next reboot will take so long you will remember why you should pay attention on closing the system...
The reason has to do with how unix work and why it is more performant compared to other systems (true last decade...) being preemptive multitasking, it will let you continue to work while doing things in background such as writing your data to disk...
And so it regularly flushes by syncing... and at shutdown very simply explained, it does the same and you could say adds flags it looks at at initialisation and is understood as "the filesystems were unmounted clean" no need to check... If the system does not find the flags meaning dirty shutdown it will scan the filesystem for corruption and you will learn the usage of fsck...
|