Busybox learning and research 1: A Brief Introduction to busybox

Source: Internet
Author: User
Tags ibm developerworks

This is the first time I heard about this stuff. After investigation, I found that this stuff is very good. It is especially applicable to Linux-based embedded systems with strict restrictions on disk space. in addition, this product has been used in many products, such as Nokia 770 and Motorola a780.

What is busybox? Directly reference the author: "busybox combines tiny versions of Common Unix utilities into a single small executable. it provides replacements for most of the utilities You usually find In GNU fileutils, shellutils, etc. the utilities in busybox generally have fewer options than their full-featured GNU cousins; however, the options that are supported provide de the expected functionality and behave very much like their GNU counterparts. busybox provides a fairly complete environment for any small or embedded system. "(from http://www.busybox.net/about.html)

Official website of busybox: http://www.busybox.net/

It is necessary to mention the background of developing busybox. The purpose of busybox development is to create a GNU/Linux boot disk on a m floppy disk, which contains the kernel, device driver, and basic tool software, such as editing text and creating directories. busybox is the basic application software.

For this purpose, you must find a way to streamline the softwareCodeBusybox mainly uses two methods to reduce the amount of code.

(1) only provide the most basic functions of the application. for example, VI only provides simple file editing functions. remove other enhancements. in the original words of the author, the VI provided by busybox is "a small 'vi' clone"

(2) code that shares the same functions between applications. For example, grep and find both need to Recursively search for files in the directory to share the code.

Busybox contains many common applications, such as VI and mkdir. It also provides a script command parser to parse scripts in ash and Bourne shell formats. these applications can be manually configured. You can use make menuconfig to specify the applications you want to include.

This chapter briefly introduces busybox.ArticleIt will detail how to install, configure and use.

1007/10/24

 

See busybox simplifies embedded Linux systems at the IBM developerworks forum.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.