Re: Patch: 2.5.62.4 small devfs

From: Adam J. Richter (adam@yggdrasil.com)
Date: Mon Mar 03 2003 - 13:15:52 EST


>Could you suggest a simple bit of sh script that will tell me if I have
>a devfs or small devfs kernel, (so my init scripts can decide whether or
>not to load devfsd?)

        I haven't tested this, but something like this might
work:

        if [ -e /dev/.devfsd ] ; then
                echo "Running old devfs"
                devfsd
        else
                echo "Running no devfs or new devfs."
        fi

Adam J. Richter __ ______________ 575 Oroville Road
adam@yggdrasil.com \ / Milpitas, California 95035
+1 408 309-6081 | g g d r a s i l United States of America
                         "Free Software For The Rest Of Us."
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Mar 07 2003 - 22:00:22 EST