site  contact  subhomenews

Improper shutdown handling completed

March 18, 2010 — BarryK
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.



Tags: woof