OK, I should have been more explicit. I was addressing two points:
1) the above fix would solve the /dev/initctl problem. As you've
shown me, it doesn't. So, the fix below should work, correct?
# cd /sbin
# mv init init.real
# cat > init
#! /bin/sh
mount -n -t devfs none /dev
mknod /dev/initctl p
exec /sbin/init.real
^D
# chmod a+x init
2) the generic problem of running a script which then runs the real
init binary (by using exec that should work).
> Oh, and please do not create it in devfs itself - I hope to convince
I wouldn't want to do that in devfs itself: devfs (and the kernel in
general) should not be making assumptions about what lies in
userspace.
Regards,
Richard....
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu