LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 788|回复: 7

征集:lfs文件的功能

[复制链接]
发表于 2009-9-23 14:45:30 | 显示全部楼层 |阅读模式
LFS新手,收集LFS的文件的功能,我认为只有了解各个文件的功能作用才能正式了解LFS以至linux基本原理(非指内核)
资料从网上收集,有些是通过GOOGLE翻译。
1)autoconf
Autoconf是一个可扩展的m4宏包,生产shell脚本来自动配置软件的源代码包。这些脚本可以包适应多种的UNIX类用户无需人工干预系统。 Autoconf的创建一个模板文件列举了m4宏调用的形式作业系统的功能,可以使用的包,一个包配置脚本。
生产配置脚本使用Autoconf的需要用m4。您应该安装GNU用m4(至少版本1.4.6,虽然1.4.13或更高版本推荐)Autoconf的配置之前,使Autoconf的的配置脚本可以找到它。该配置脚本由Autoconf的产生是自包含的,所以他们的用户不需要有Autoconf的(或GNU用m4)。

2)automake
Automake is a tool for automatically generating `Makefile.in' files compliant with the GNU Coding Standards. Automake requires the use of Autoconf.

Automake的是一种自动生成`Makefile.in'文件与GNU编码标准兼容工具。 Automake的需要Autoconf的使用。
3)bash
不需要解析了。
4)
Bash Documentation
5)
Berkeley DB
6)
Binutils

The GNU Binutils are a collection of binary tools. The main ones are:
Binutils是一个二进制的工具包。主要是
ld - the GNU linker.   连接器
as - the GNU assembler.装配器(汇编语言编译器?)
But they also include:
它们包括

addr2line - Converts addresses into filenames and line numbers.
将地址转换到文件名和行号
ar - A utility for creating, modifying and extracting from archives.
一个建立修改解压文档的实用工具

c++filt - Filter to demangle encoded C++ symbols.
demangle编码的C++符号的过滤器
dlltool - Creates files for building and using DLLs.
建立文件,用于构造和是哦嗯DLLS
gold - A new, faster, ELF only linker, still in beta test.
一个新的,更快的ELF连接器,仍在测试中
gprof - Displays profiling information.
显示profilin信息
nlmconv - Converts object code into an NLM.
转换对象代码为一个NLM
nm - Lists symbols from object files.
从对象文件中列出符号表
objcopy - Copys and translates object files.
复制和传送对象文件
objdump - Displays information from object files.
显示对象文件信息
ranlib - Generates an index to the contents of an archive.
生成文档内容的索引
readelf - Displays information from any ELF format object file.
从elf格式的对象文件显示信息
size - Lists the section sizes of an object or archive file.
大小-列出对象或归档文件部分的大小。strings - Lists printable strings from files.
strip - Discards symbols.
丢弃符号。
windmc - A Windows compatible message compiler.
一个Windows兼容的消息编译器
windres - A compiler for Windows resource files.

7)
bison
一种通用的分析器生成器
8)
bzip2
9)
Coreutils
核心实用工具是由以前的文件实用工具,外壳实用工具文本实用工具合并而成。
10)DejaGnu
一个用于测试其他程序的框架。其目的是为所有测试单一前端。11)
12)Diffutils
diff命令显示两个文件之间,或每两个目录中的相应文件的差异。差异输出档案的差异,在多种格式的,一行行选择通过命令行选项。这种差距而通常被称为'差异'或'补丁'。对于文件是相同的,差异通常不产生输出,为二进制(非文本)文件,通常只报告差异,它们是不同的。

13)Ext2/3/4 Filesystem Utilities
Ext2/3/4 文件系统实用工具
发表于 2009-9-23 16:08:06 | 显示全部楼层
不是“文件”,是“包”
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-9-23 16:36:11 | 显示全部楼层
欢迎指正。
更希望熟悉的前辈整理,作一个详细的介绍。
13)Expect
是一种应用程序互动的工具,如telnet,ftp,passwd,fsck等。,远程登录,提示等,
期待真正让这些东西微不足道。Expect在的测试程序中也是有用的。
14)file
文件类型分析器
15)Findutils
The GNU Find Utilities are the basic directory searching utilities of the GNU operating system. These programs are typically used in conjunction with other programs to provide modular and powerful directory search and file locating capabilities to other commands.
The tools supplied with this package are:
find - search for files in a directory hierarchy
locate - list files in databases that match a pattern
updatedb - update a file name database
xargs - build and execute command lines from standard input
The find program searches a directory tree to find a file or group of files. It traverses the directory tree and reports all occurrences of a file matching the user's specifications. The find program includes very powerful searching capability.
The locate program scans one or more databases of filenames and displays any matches. This can be used as a very fast find command if the file was present during the last file name database update.
The updatedb program updates the file name database used by the locate program. The file name database contains lists of files that were in particular directory trees when the databases were last updated. This is usually run nightly by the cron system daemon.
The xargs program builds and executes command lines by gathering together arguments it reads on the standard input. Most often, these arguments are lists of file names generated by find.
Documentation
The manual is available in the info system of the GNU Operating System. Use info to access the top level info page. Use info find to access the Find Utilities section directly.
GNU的查找工具的基本目录搜索的GNU操作系统实用。这些程序通常与其他程序,提供强大的模块化和目录搜索和文件定位功能来配合其他命令。
此软件包提供的工具有:
发现-搜索文件的目录层次结构
定位-在数据库列表中的文件匹配模式
updatedb -更新文件名数据库
xargs -建立和执行命令行从标准输入
这一发现程序搜索目录树,以找到一个文件或文件组。它遍历目录树和报告匹配用户的规范文件中的所有匹配。该计划包括发现非常强大的搜索能力。
该程序扫描找到一个或多个文件名和显示任何匹配的数据库。这可以作为一个非常快速找到命令如果该文件是在过去的文件名数据库更新本。
该updatedb程序更新文件名数据库的查找程序使用。该数据库包含文件名的文件,在特定的目录树,当数据库的最后更新名单。这通常是由cron运行系统守护进程每晚。
该xargs建立和执行程序,集合参数它在标准输入读取命令行。大多数情况下,这些言论是由找到生成的文件名列表。
16)flex
快速的词法分析器
17)gawk
这个很多人都认识。可以将它列入高级文本编辑处理器(不知道是否恰当)
18)GCC
19)gettext
google翻译的结果我也看不懂。
20)glib
21)gmp
不知道是什么东东。
22)grep
gwak,sed ,grep是各有所长匹配型的文本编辑器。
23)groff
一个排版包与格式的纯文本命令混合,并产生格式化的输出。
24)grub
操作系统引导器
25)gzip
压缩工具
26)iana-etc
The iana-etc package provides the Unix/Linux /etc/services and /etc/protocols files.
27) Inetutils
网络工具
An ftp client and server.
A telnet client and server.
An rsh client and server.
An rlogin client and server.
A tftp client and server.
28)IPRoute2
先按字面猜吧
29)kbd
打不开网页,可能是键盘吧。
30)less
一个显示文本文件的程序
31)LFS-Bootscripts
32)libtool
GNU libtool来是一个通用库支持脚本
33)linux
34)M4
       
用M4简介
M4是一个传统的Unix宏处理器的实现。它基本上是SVR4兼容,但它有一些扩展(例如,处理超过9个位置参数的宏)。用m4有内置的功能,
括文件,运行shell命令,做算术等。M4是在宏处理器,它复制其输入到输出,展开宏。,因为它去。宏可以是内建或用户定义的,可以采
取任何数量的参数。除了宏扩展,M4包括内建的功能,如命名文件,,运行UNIX命令,做整数运算,以各种方式操纵案,递归等..用m4可以
被用来作为前端编译器 。用m4的GNU的最大用户之一,是GNU的autoconf项目。
35)make
36)man-db
37)Man-pages
38)module-init-tools
       
提供了用于管理Linux内核模块加载Linux系统所需的工具很多。这包括命令depmod,insmod,rmmod的,modprobe像modinfo工具。你通常不会建立并安装自己这个包,因为它的每一个主要的Linux发行版的一部分。
39)MPFR
多精度浮点运算C库。
40)Ncurses
Ncurses库仿真curses in System V Release 4.0,
41) patch
42)perl
一种计算机语言
43)Procps - The /proc file system utilities
44) PSmiscis
PSmiscis  is a set of some small useful utilities that use the proc filesystem. We're not about changing the world, but providing the system administrator with some help in common tasks.

We're not about changing the world, but providing the system administrator with some help in common tasks.

There is options for using SELinux if you need it and fuser understands IPv6. It also speaks various languages using the gettext facilitie
45)Readline
Readline library提供了一组功能,由应用程序修改命令输入行有如从键盘输入一样。

46)sed 略
47)shadow 资料很多了
48)sysklogd

内核和系统日志守护进程

此包实现两个系统日志守护进程。 syslogd守护进程是一个标准伯克利实用程序的增强版本。这个守护程序负责提供从项目和设施所得的本地主机上的信息记录,以及从远程主机。

在klogd守护进程侦听内核消息来源,是优先考虑和处理操作系统的信息负责。 klogd的守护进程可以运行的客户端syslogd的或选择作为一个独立的程序。 klogd的现在可以用来解码电子信息地址如果能够确定System.map文件

49)Sysvinit 网站打不开。等待。
50)tar
51)Tcl
This is the core development home for Tcl (Tool Command Language, pronounced tickle) and the Tk toolkit. The TEA (Tcl Extension Architecture) sample extension and Thread extension are part of the SF Tcl project.       
google:(不知所云)
这是发展的核心家庭的Tcl(工具命令语言)和传统知识的工具。茶叶(Tcl的扩展架构)示例扩展和延伸,是线程港协Tcl的项目的一部分。

52)textinfo 待详细了解。
53)udev 应该是热拨插设备管理的吧
54)util-linux-ng 含义未明白
55)vim一个文本编辑器
56)Vim (7.2) language files
57)zlib  未明白
好象就这些文件了吧。大概知道文件的作用了。
好了,重新查证一下,准备作LFS了。
回复 支持 反对

使用道具 举报

发表于 2009-9-23 18:00:26 | 显示全部楼层
如果可能, 详细解释一下每个包带的可执行程序.
对于库, 列出重要的API..

工程量不小
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-9-23 18:57:07 | 显示全部楼层
但这样的文档如果实现,对用户学习来说,其收获,却是远超过了LFS本身。一些前辈之所以能不断地总结出新的方法,正是对linux有了这样的认识,也只有这样的努力,才能是形成了一个真正的LFS理论体系。其意义,是非凡的。也正是这样,才值得有志者期待。令中国的linux得到飞跃的发展。令更多的后来人快速进入LINUX的领域。
中国人的LINUX发行版,就会出现。WIKI的出现,等到了许多的知识库,但这些积累起来的知识库却大都是控制在外国人手中。为什么中国人,就不做一些实际的努力呢。
LINUXSIR这么多年了,什么不能再上一个台阶?
回复 支持 反对

使用道具 举报

发表于 2009-9-23 19:18:34 | 显示全部楼层
建议楼主详细阅读一遍 LFS 手册
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-9-23 19:34:05 | 显示全部楼层
1)正在读。
2)因为不明白要编译的文件是什么作用。所以要了解。不知所云地做一遍LFS,是毫无意义的。
3)LFS是一定要读的,多次地读。其实几年前就读过,却是面对众多的不知云的文件,最后也如水过鸭背。这次是想移植系统,所以重新学习。
回复 支持 反对

使用道具 举报

发表于 2009-9-23 19:44:09 | 显示全部楼层
关於各软件的用途,多数在手册都有解说的
Post by zswlb9999
1)正在读。
2)因为不明白要编译的文件是什么作用。所以要了解。不知所云地做一遍LFS,是毫无意义的。
3)LFS是一定要读的,多次地读。其实几年前就读过,却是面对众多的不知云的文件,最后也如水过鸭背。这次是想移植系统,所以重新学习。
说的好!:cool:
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表