Experiment in booting Linux fast
the shutdown loop in one of the blog posts there - sync(), then sleep(2) - has me worried he may get filesystem corruption at times under those circumstances. i could be wrong, but i recall that sync() will return immediately even though it's not done synchronizing the filesystem writes (for a filesystem that needs that). as such, the sleep(2) gives it some time to get that done.<p>is that a correct understanding? if so, is that a reasonable risk i see (filesystem corruption at times)?