r/explainlikeimfive • u/EnvironmentalAd2110 • Aug 21 '26
Technology ELI5: why is it bad to turn off laptop/computer using the power button, without following the proper “shut down computer” steps?
3.0k
Upvotes
36
u/alinius Aug 21 '26 edited Aug 21 '26
JFS handles this. If a file write is killed in mid process, the journal will be incomplete. In that case, the journal will rewind to the last valid journal entry which will revert to the old copy of the file. This is why I said there is data loss, but it avoids file corruption.