how to build file system rootimage?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
Ruxbin
Posts: 8
Joined: Tue Oct 30, 2007 2:24 am
Location: Shanghai,China

how to build file system rootimage?

Post by Ruxbin »

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. :D
User avatar
t0xic
Member
Member
Posts: 216
Joined: Sat May 05, 2007 3:16 pm
Location: VA
Contact:

Post by t0xic »

JamesM will love me for this :D

You should check out his tutorials here: jamesmolloy.co.uk

edit: bbcode

--Michael
User avatar
Ruxbin
Posts: 8
Joined: Tue Oct 30, 2007 2:24 am
Location: Shanghai,China

Post by Ruxbin »

Thanks for your help, t0xic. I'll check out
:lol:
User avatar
rjying
Posts: 22
Joined: Tue Jan 15, 2008 12:52 am

Re: how to build file system rootimage?

Post by rjying »

Perhaps, you need write code to support file system, and .out execution file format parse.
And write code to support fork new processes or other. that's too a great lot code.
:)
Post Reply