Re: Patch: 2.5.62.4 small devfs

Adam J. Richter (adam@yggdrasil.com)
Mon, 3 Mar 2003 10:15:52 -0800


>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/