[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: /scripts/local: Waiting for root file system...



> Just yesterday:
> 
>   
> http://lists.debian.org/msgid-search/20071003201906.GA28710@la
> pse.madduck.net

This doesn't seem to be my issue.
My hard drives are internal (not USB but SCSI).

rootdelay will not help in my case because
it just determines how long the following cycle
will execute:

                # Default delay is 180s
                if [ -z "${ROOTDELAY}" ]; then
                        slumber=180
                else
                        slumber=${ROOTDELAY}
                fi

                slumber=$(( ${slumber} * 10 ))
                while [ ! -e "${ROOT}" ] \
                || ! $(get_fstype "${ROOT}" >/dev/null); do
                        /bin/sleep 0.1
                        slumber=$(( ${slumber} - 1 ))
                        [ ${slumber} -gt 0 ] || break
                done

What will help in my case (as I've written above)
is to invoke `run_scripts /scripts/local-top`
during the wait cycle which will again and again
try to prepare root file system.

Anyway, thanks for response.


Petya.



Reply to: