Improper shutdown handling completed

I previously reported that I implemented this for the case of full hard-drive installations of Puppy:

I have now extended this to cover other modes of installation, that is, frugal hd, live-CD, USB-stick, etc.

This involved changes to the 'init' script in the initramfs. This was an area that I had left incomplete and a bit messy. Now tidied up and completed.

When Puppy does a search of the partitions looking for Puppy files, and found '/fsckme.err' file will trigger a f.s. check. This file is created at bootup by /etc/rc.d/rc.sysinit and normally removed at shutdown by /etc/rc.d/rc.shudown.

That means, if you boot say with a live-CD, improper shutdowns of any other installations of Puppy will be detected and the partitions automatically checked.

This is only for ext2, ext3 and ext4 filesystems.

Posted on 18 Mar 2010, 17:06


Posted on 20 Mar 2010, 22:56 by Dougal
You might want to make it a hidden file, so people don't get confused by it. (you're also bound to get some religious Yank offended by the name...)