: 2). PS requires '/proc', but I can't see any code where this 'created'.

        ps doesn't require /proc.  Are you using the one from elkscmds?  
Also, I added the display of program arguments from ps, but I can't remember
if I ever checked it in...  In any case, ps just reads /dev/kmem for each process
and finds its arguments (just above the initial sp) and prints them out...


: 3). What size stack are we supposed to be working with (I had 8K and was
: running out of space, so it's now 2K)

        certain programs (like init, login and getty) have hardcoded stack values
in Makefile.  The programs were coded specifically to use as little stack as possible,
and shouldn't have changed.  The -H option was computed based on the program
code.  I've suggested writing a kernel utility that keeps track of a programs
stack and heap use, but no takers yet...

Greg

Reply via email to