'init' script doesn't always wait appropriately - 'wait4usb' limitations
1. It only waits for the first USB drive.
If the partition is on a device that is not a usb device, and the device needs waiting, no waiting is done.
2. It only waits for the FIRST usb drive.
If the partition is on a usb device but it is not the fist one to be ready, there is not enough waiting done.
This issue has been mentioned on the forum, viewtopic.php?f=146&t=966.
and as an issue in woof-ce on github, http://www.mediafire.com/folder/hkwe9ykjbmvwb/init-wait.
I have a patched 'init' script that changes the way 'init' does waiing, so that it should work with any technology, not just usb,
and it waits for any specified partition (e.g. with a "pdrv=" boot parameter), to be known to "blkid".
This patched 'init' script is now available for testing on the new woof-ce 'init-experiment' branch.
I have also uploaded a file called 'init_wait-1.sfs' to http://www.mediafire.com/folder/hkwe9ykjbmvwb/init-wait, as another way of testing this 'init' script.
The 'upinit' script contained in 'init_wait-1.sfs' updates the running Puppy as follows:
It copies the current 'initrd.gz' to 'initrd-release.gz', if 'initrd-release.gz' does not exist.
It replaces the 'init' script in 'initrd.gz' with the "test" init script contained in 'init_wait-1.sfs'.
Before you start, you need to be running a fairly recent woof-ce generated Puppy, probably no more than about 1 year old.
To use 'init_wait-1.sfs':
Download the 'init_wait-1.sfs' file
Click on the downloaded file, and then click "View contents"
Click on the 'upinit' file to execute it.
When you get a "Done" message, it is ready to reboot using the "test" init script.
Before you do reboot, you might click on the 'init_wait-1.sfs' file again to unmount it.
Notes:
The location of 'init_wait-1.sfs' doesn't matter, 'upinit' always changes the 'initrd.gz' of the running Puppy.
The 'upinit' script will happily replace the 'init' script on any Puppy, but the older the Puppy the more likely that it will simply be incompatible with the current 'init'.
There is no point in running "Sfs_load" to append 'init_wait-1.sfs' into the Puppy aufs stack.
gyrog