Skip to contentSkip to conversation

Patch: 2.5.62.4 small devfs

DISCUSSION Adam J. Richter 1 participant 1 message Mar 3, 2003

lore
Share & tools
lore
#0 lore raw
Quoted 3 lines

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
[email protected]     \ /                  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."