I use slitaz as a toolbox in a pendrive. So in an attempt to help improve, I made some changes on code that I thought would be interesting.
Reasons why: 1) Recreated an error that involves the physical removal of the flash drive before the end of full copy of rootfs.gz. This causes the system to be broken for the next start.
2) Currently, writefs tazusb creates a single rootfs.gz file. And there is no entry for this new single file in boot menu. Because the slitaz boot scheme works with four files.