手机版
你好,游客 登录 注册
背景:
阅读新闻

BusyBox制作文件系统

[日期:2015-02-09] 来源:Linux社区  作者:xiaobin_hlj80 [字体: ]

一、简介

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

 

linux
相关资讯       busybox 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款