Hello:
Regarding Knoppix v 3.6-2004-08-16 Bug #4:

4. After a knoppix-type HD install, we have the following boot message: "Running from HD, regenerate ld.so.cache and modules.dep... warning: process 'update' used the osbolete bdflush system call Fix your initscript?". (Fabio pt_BR)
After searching for a while, I found a fix for the second part of this bug (obsolete bdflush system call) in the "Simply Linux" book, 3rd Edition, October, 2004 by jet_blackz@lycos.com. (recommended, real good reading.)

Kernel 2.6.x starts the pdflush thread by itself. bdflush is the old one
used by 2.4.x kernels.

Comment out this line in checkroot.sh init script:

vi /etc/init.d/checkroot.sh
#[ -x /sbin/update ] && update <--- you add # at the start of this line.
Now I think I may have found a fix for the first part of this bug:

In file /etc/init.d/knoppix-autoconfig (lines 489 --> 494) you can see the piece of script that runs ldconfig and depmod at each boot:

Code:
if [ -n "$INSTALLED" ]; then
echo -n "${BLUE}Running from HD, regenerate ld.so.cache and modules.dep...${NORMAL}"
# Regenerate ld.so.cache and module dependencies on HD
ldconfig ; depmod -a 2>/dev/null
echo ""
fi
If I rem out all these lines (ie: add '#' to the beggining of each one) the script is not run, cutting down boot time considerably with no apparent ill effects.

As always, YMMV.

The question remains ...
Does anyone know if it is necessary to run this script at every boot in a HD installation?

Cheers,

CIV