[lingyun@localhost fulinux]$ clear
[lingyun@localhost fulinux]$ mkdir rootfs
[lingyun@localhost fulinux]$ cd rootfs
[lingyun@localhost rootfs]$ mkdir {bin,dev,etc,lib,mnt,proc,sbin,sys,tmp,usr,var}
[lingyun@localhost rootfs]$ ls
bin dev etc lib mnt proc sbin sys tmp usr var
[lingyun@localhost rootfs]$ cd usr/
[lingyun@localhost usr]$ mkdir {bin,sbin,lib,share}
[lingyun@localhost usr]$ ls
bin lib sbin share
[lingyun@localhost usr]$ cd ..
[lingyun@localhost rootfs]$ tree
.
|-- bin
|-- dev
|-- etc
|-- lib
|-- mnt
|-- proc
|-- sbin
|-- sys
|-- tmp
|-- usr
| |-- bin
| |-- lib
[lingyun@localhost fulinux]$ mkdir rootfs
[lingyun@localhost fulinux]$ cd rootfs
[lingyun@localhost rootfs]$ mkdir {bin,dev,etc,lib,mnt,proc,sbin,sys,tmp,usr,var}
[lingyun@localhost rootfs]$ ls
bin dev etc lib mnt proc sbin sys tmp usr var
[lingyun@localhost rootfs]$ cd usr/
[lingyun@localhost usr]$ mkdir {bin,sbin,lib,share}
[lingyun@localhost usr]$ ls
bin lib sbin share
[lingyun@localhost usr]$ cd ..
[lingyun@localhost rootfs]$ tree
.
|-- bin
|-- dev
|-- etc
|-- lib
|-- mnt
|-- proc
|-- sbin
|-- sys
|-- tmp
|-- usr
| |-- bin
| |-- lib

本文档详细介绍了如何配置和构建BusyBox根文件系统。通过`make menuconfig`进入配置界面,选择所需的Applets、核心工具和其他系统组件。配置过程中可以定制BusyBox的行为、构建选项、调试选项和安装路径等。完成配置后,使用`make`命令来构建项目。
订阅专栏 解锁全文

被折叠的 条评论
为什么被折叠?



