
Originally Posted by
kl522
And I did mention also that, it would be nice if knoppix during the booting, perform a small little sanity check, it would be able to avoid such a disastrous total failure to boot. And it's a simple modification, to the author of KNOPPIX.
I think there is a very simple mechansim can be incorporated into the booting scheme to avoid knoppix-data.img completedly filled up and making it unfit for reboot. The mechanism is as follows :-
1. When the system is completedly booted up, reserve a small space on /KNOPPIX-DATA, this can be added to the last line of /etc/init.d/knoppix-autoconfig :-
Code:
dd if=/dev/zero of=/KNOPPIX-DATA/.sanity_reserve bs=500k count=1
2. When the system is booting up, in the 'init' script ( inside minirt.gz ), after mounting knoppix-image, delete this file to free up the space :-
Code:
[ -f /KNOPPIX-DATA/.sanity_reserve ] && rm /KNOPPIX-DATA/.sanity_reserve
With this two mods, there will not be worries that knoppix-image will be completedly filled up by users and making it unfit for next reboot.