how to build file system rootimage?
Posted: Sun Feb 17, 2008 6:43 am
Hi,everyone.
For the past few weeks, I was coding a little multi-process kernel.
Now I've finished entering pmode and two separate processes can display A&B
on screen (like linux 0.00 : ).
I'm planning to support a.out file format in this system, but there are some problems I can't manage.
1. If I want to fork a process and execute an executable file such as shell. How
can I put the executable file from the outside to my kernel's file system, because I want to compile the source code in Linux.Alternatively, I can compile the shell in my kernel, but it seems to be too complex . It's like building a small file system rootimage with shell in /bin.
Can you guys give me some suggestions or links about managing these stuff?
Thx for your patience.
For the past few weeks, I was coding a little multi-process kernel.
Now I've finished entering pmode and two separate processes can display A&B
on screen (like linux 0.00 : ).
I'm planning to support a.out file format in this system, but there are some problems I can't manage.
1. If I want to fork a process and execute an executable file such as shell. How
can I put the executable file from the outside to my kernel's file system, because I want to compile the source code in Linux.Alternatively, I can compile the shell in my kernel, but it seems to be too complex . It's like building a small file system rootimage with shell in /bin.
Can you guys give me some suggestions or links about managing these stuff?
Thx for your patience.