Member-only story
DevOps in Linux — fork() System Call
Note, full mind map is available at: “DevOps in Linux Mind Map”
How to Create a New Process?
The system call for creating a process is called “fork”. Why would starting a new process be called “fork”? In Linux, to create a new process, an existing “parent process” must invoke the fork()
system call (https://github.com/torvalds/linux/blob/master/kernel/fork.c), resulting in a new "child process".
Think of it like executing a project based on a well-laid-out plan. Suppose you are midway through carrying out this project when you receive instructions to kick off a new one.
How should you proceed? Running a project involves multiple complexities and necessitates contributions from various departments within an organization. For example, you’d need the project management department to set up Jira and Wiki platforms, and a facilities team to allocate meeting spaces, among other tasks.
Now, you’re faced with two choices. The first option is to create a comprehensive checklist that delineates every single account and resource that a new project team would require. But this means you’ll have to go through the tedious task of setting up Jira, Wiki, and other resources for each new project.