開源人年會 2022

您已儲存您的地區設定。若有任何問題請跟我們聯繫!

Launch the first process in Linux system
年7月30日, 14:30–15:00 (Asia/Taipei), TR213
語言: 漢語

每當 Linux kernel 開機後,就將交手給 User space 的第一支程式 init。接著,就開啟了各 Linux distribution 的特色旅程。本次將以 Busybox 為例,分享 Linux kernel 如何去找到這要執行的 init,如何導向 Busybox。以及 Busybox 執行起來後,要做哪些事,如何取得 console ... 等。像極了簡約風格的 Linux System

當 Linux kernel 要交手給 init 程式前,需要先支援 file system 與該 storage 的 driver/module,才找得到 init 程式。Kernel 的 boot command 也需要指定 root device 與 file system,才能正確掛載 root file system。而 init 導向執行的 Busybox,因為其基礎功能豐富、需要儲存空間也小,是支輕巧好用的程式。因此,也常用在需要簡化系統環境的嵌入式 Linux 系統上。
本次會先以虛擬環境為例,再實際於 Raspberry Pi 上示範。


目標聽眾族群

Linux developer、Embedded system

內容難易度

Skilled

An engineer loves free and open-source software & hardware!