You may do it this way:
make dep clean bzImage modules && su -c "make modules_install"
This is so far the minimal version for building as non-root user.
> I think the "trick" is to redirect stdout and stderr to /dev/null as well,
> so that /dev/null doesn't get removed from the file system since it is
> held open by the shell.
>
> Something like:
>
> gcc -o /dev/null -xc /dev/null /dev/null 2>&1
No-go. It's perfectly okay to remove an opened file. Test it yourself.
You may even replace a running (!) executable...
> Perhaps someone just forgot the I/O redirection in one of the tests?
No. It would be of no effect:-)
> However, I just compiled (but did not install) 2.4.10, as root, and my
> /dev/null still exists...
Fine:-) That's the way to go!
MfG, JBG
-- Jan-Benedict Glaw . jbglaw@lug-owl.de . +49-172-7608481 - 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/