歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> BusyBox制作文件系統

BusyBox制作文件系統

日期:2017/2/28 14:22:52   编辑:Linux教程

一、簡介

BusyBox 是很多標准Linux® 工具的一個單個可執行實現。BusyBox 包含了一些簡單的工具,例如cat 和 echo,還包含了一些更大、更復雜的工具,例如 grep、find、mount 以及 telnet(不過它的選項比傳統的版本要少);有些人將 BusyBox 稱為 Linux 工具裡的瑞士軍刀。

BusyBox 的誕生

BusyBox 最初是由 Bruce Perens 在 1996 年為 Debian GNU/Linux 安裝盤編寫的。其目標是在一張軟盤上創建一個可引導的 GNU/Linux 系統,這可以用作安裝盤和急救盤。一張軟盤可以保存大約 1.4-1.7MB 的內容,因此這裡沒有多少空間留給 Linux 內核以及相關的用戶應用程序使用。

BusyBox 許可證

BusyBox 是按照 GNU General Public License(GPL)許可證發行的。這意味著如果我們在一個項目中使用 BusyBox,就必須遵守這個許可證。我們可以在 BusyBox Web 站點(請參看本文後面 參考資料 一節的內容)上看到這個許可證的內容。BusyBox 團隊似乎正忙於監視違反這個許可證的情況。實際上,他們維護了一個 “Hall of Shame” 頁面來說明違反者的情況。

BusyBox 揭露了這樣一個事實:很多標准 Linux 工具都可以共享很多共同的元素。例如,很多基於文件的工具(比如 grep 和 find)都需要在目錄中搜索文件的代碼。當這些工具被合並到一個可執行程序中時,它們就可以共享這些相同的元素,這樣可以產生更小的可執行程序。實際上,BusyBox 可以將大約 3.5MB的工具包裝成大約 200KB 大小。這就為可引導的磁盤和使用 Linux 的嵌入式設備提供了更多功能。我們可以對 2.4 和 2.6 版本的 Linux 內核使用BusyBox。

BusyBox: The Swiss Army Knife of Embedded Linux

BusyBox combines tiny versions of many commonUNIX utilities into a single small executable. It provides replacements formost of the utilities you usually find in GNU fileutils, shellutils, etc. Theutilities in BusyBox generally have fewer options than their full-featured GNUcousins; however, the options that are included provide the expectedfunctionality and behave very much like their GNU counterparts. BusyBoxprovides a fairly complete environment for any small or embedded system.

BusyBox has been written withsize-optimization and limited resources in mind. It is also extremely modularso you can easily include or exclude commands (or features) at compile time.This makes it easy to customize your embedded systems. To create a workingsystem, just add some device nodes in /dev, a few configuration files in /etc,and a Linux kernel.

BusyBoxis maintained by Denys Vlasenko, and licensed under the GNU GENERAL PUBLICLICENSE version 2.

Get BusyBox

Download Source

BusyBox各版本下載 http://www.linuxidc.com/Linux/2011-08/40704.htm

穩定版本:V1.23.1

更多詳情見請繼續閱讀下一頁的精彩內容: http://www.linuxidc.com/Linux/2015-02/113131p2.htm

Copyright © Linux教程網 All Rights Reserved