busybox
- 网络一款集成了一百多个常用Linux命令和工具的软件
-
To make your root file system useful , use BusyBox .
为了可以使用根文件系统,我们使用了BusyBox。
-
BusyBox uses symbolic links to make one executable look like many .
BusyBox使用了符号链接以便使一个可执行程序看起来像很多程序一样。
-
The first is to use BusyBox ( demonstrated in this article ) .
首先是使用BusyBox(本文中已经展示过了)。
-
BusyBox exploits the fact that the standard Linux utilities share many common elements .
BusyBox揭露了这样一个事实:很多标准Linux工具都可以共享很多共同的元素。
-
The BusyBox developers made a tool that 's not only great but also simple to extend .
BusyBox开发人员开发了一个优秀但非常容易扩展的工具。
-
Adding a new command to BusyBox is simple because of its well-defined architecture .
向BusyBox添加一个新命令非常简单,这是因为它具有良好定义的体系结构。
-
BusyBox is a great way to shrink the memory requirements for your next embedded Linux project .
BusyBox是一种缩减您下一个嵌入式Linux项目内存需求的好方法。
-
To manually configure BusyBox , use the following commands
要手工配置BusyBox,请使用下面的命令
-
The result is a rather large BusyBox image , but it 's the simplest way to get started .
结果是一个相当大的BusyBox映像,不过这只是开始使用它的最简单的方法。
-
A number of symbolic links are then created that all point to the BusyBox utility .
然后创建了很多符号链接,它们都指向BusyBox工具。
-
The command links to BusyBox can also be created dynamically at runtime using BusyBox .
到BusyBox的命令行链接也可以使用BusyBox在运行时动态创建。
-
Using manual configuration , you can specify the commands to be included in the final BusyBox image .
使用手工配置,我们可以指定在最终的BusyBox映像中包含的命令。
-
BusyBox includes several build options to help you build and debug the right BusyBox for you .
BusyBox包括了几个编译选项,可以帮助为我们编译和调试正确的BusyBox。
-
This provides you with a BusyBox binary that can be invoked .
这为我们提供了可以调用的BusyBox的二进制文件。
-
BusyBox figures out which utility was invoked and performs that functionality .
BusyBox会判断所调用的是哪个工具,并执行这个工具的功能。
-
Copy the BusyBox image from its source directory into your root in the / bin directory .
将BusyBox映像从自己的源目录中拷贝到自己根目录下的/bin目录中。
-
In this example , the BusyBox image is statically linked so that no libraries are required .
在这个例子中,BusyBox映像是静态链接的,因此它不需要其他库。
-
Adding new commands to BusyBox
向BusyBox中添加新命令
-
If you 're really serious about shrinking the size of your BusyBox image , here are two things to keep in mind
如果您非常关心对BusyBox映像的压缩,就需要记住两件事情
-
At the root , you 'll find a linuxrc program that links to BusyBox .
在这个根目录中,您会找到一个链接到BusyBox的linuxrc程序。
-
The770 's installation , as is often the case for such devices , is built around BusyBox .
的安装与类似设备一样,都是围绕BusyBox而构建起来的。
-
Here you can see the different major classes of applications ( applets ) that you can configure for BusyBox .
在这里我们应该可以看到可以为BusyBox配置的不同类型的应用程序(applet)。
-
BusyBox then invokes the internal utility as defined by argv [ 0 ] .
BusyBox然后可以通过argv[0]来调用内部工具。
-
You 'll also find the latest news , erratum , and tutorials for using and amending BusyBox .
我们可以找到最新的新闻、勘误以及使用并改进BusyBox的教程。
-
BusyBox is built to include gzip support , but the zcat utility is provided separately .
BusyBox内嵌了对gzip的支持,但是它也单独提供了zcat工具。
-
How does BusyBox work ?
BusyBox是如何工作的?
-
Bin & Holds most of the binaries like init , busybox , shell , file management utilities , and etc.
bin―保存大多数象init、busybox、shell、文件管理实用程序等二进制文件。
-
The advantage of BusyBox is that it packs many utilities into one while sharing their common elements , resulting in a much smaller image .
BusyBox的优点是它将很多工具打包成一个文件,同时还可以共享它们的通用元素,这样可以极大地减少映像文件的大小。
-
This file is created when BusyBox is compiled , and it contains the list of commands that have been configured .
这个文件是在编译BusyBox时创建的,它包含了已经配置的命令清单。
-
The commands in BusyBox don 't support all of the options commonly available , but they do contain the options that are used most often .
BusyBox中的命令并不支持所有可用选项,不过这些命令都包含了常用的选项。