Hi,

the reason of this "bug" is that mtab.sh finally adds
everything found in /proc/mounts into /etc/mtab :
including /dev/.static/* which has 700 perms.

I have added those 3 lines in my mtab.sh :

    # Add everything else in /proc/mounts into /etc/mtab, with
    # special exceptions.
    exec 9<&0 0</proc/mounts
    while read FDEV FDIR FTYPE FOPTS REST
    do
        case "$FDIR" in
            /lib/modules/*/volatile)
                FDEV="lrm"
                ;;
->                      /dev/\.static*)
->                              continue
->                              ;;
        esac
        domtab "$FTYPE" "$FDIR" "$FDEV" "-o$FOPTS"
    done
    exec 0<&9 9<&-

and it works fine now.

Regards,

--
Axel


Reply via email to