fsck: get the fsck tool working
authorAlan Cox <alan@linux.intel.com>
Sun, 22 Oct 2017 22:28:31 +0000 (23:28 +0100)
committerAlan Cox <alan@linux.intel.com>
Sun, 22 Oct 2017 22:28:31 +0000 (23:28 +0100)
commit1963fe547ed157aa8f3e281b9ed204a4d6b982d7
treeb911278ba127a93afc7002be505e3059662e8526
parent4596a57c2af730cd197846dc1f88de7c21f268df
fsck: get the fsck tool working

This (with the needed kernel changes) seems to give us the correct behaviour
including handling recovering the live root file system.

If you boot with 'r' as an option or a dirty rootfs you'll now get a r/o
mount and you can fsck /dev/whatever to check it. If it's bad you'll then
get to fix it and it'll reboot.
Applications/util/fsck.c