LFS7.2 on Dell Laptop目录说明
是2013年2月创建的基本LFS系统的目录说明,除了LFS7.2外未安装任何软件包
/bin: 符号链接到各软件包提供的binaries
/boot: 包含三个内核相关文件
/boot/vmlinuz-3.5.2-lfs-7.2:内核
/boot/System.map-3.5.2: System.map is a symbol file for the kernel. It maps the function entry points of every function in the kernel API, as well as the addresses of the kernel data structures for the running kernel. It is used as a resource when investigating kernel problems.
/boot/config-3.5.2: 内核编译时的完整配置文件
/dev: mount /dev 文件系统
/etc/bash_completion.d: 配置文件夹,首先由安装grub时候创建,目前只包含一个文件grub
/etc/default: 默认值设置文件夹,包含默认值配置文件的符号链接,指向各软件包的具体赋值文件
/etc/modprobe.d: 模块载入配置文件,Configuring Linux Module Load Order
/etc/opt: Configuration files for /opt
/etc/inputrc: Handles keyboard mapping for specific situations. This file is the startup file used by Readline — the input-related library — used by Bash and most other shells.
/etc/fstab: 配置/etc/rc.d/init.d/mountfs脚本来mount需要的文件系统,Used by some programs to determine where file systems are to be mounted by default, in which order, and which must be checked (for integrity errors) prior to mounting
/etc/mtab: /etc/rc.d/init.d/mountfs脚本mount的文件系统将被记录在其中
/etc/nsswitch.conf: 配置glibc
/etc/{passwd,group}: 用户和组的配置关系
/etc/hosts: 域名-ip对应关系配置,DNS解析前首先查询本文件
/etc/resov.conf: 配置域名解析服务器
/etc/profile: 配置bash环境
/etc/inittab:配置SysV init进程
/etc/ld.so.conf: 文件包含一个所有目录(/lib 和 /usr/lib 除外,它们会自动包含在其中)的清单,动态装入器将在其中查找共享库。
/etc/ld.so.cache:但是在动态装入器能“看到”这一信息之前,必须将它转换到 ld.so.cache 文件中。可以通过运行 ldconfig 命令做到这一点,当 ldconfig 操作结束时,您会有一个最新的 /etc/ld.so.cache 文件,它反映您对ld.so.conf 所做的更改。从这一刻起,动态装入器在寻找共享库时会查看您在 /etc/ld.so.conf 中指定的所有新目录。
/etc/localtime: 保存时区信息,由/usr/share/zoneinfo/<xxx>拷贝而来
/etc/rc.d: 保存各种启动脚本
/etc/sysconfig:保存各种启动脚本的配置文件
/etc/sysconfig/clock: 配置启动脚本/etc/rc.d/init.d/setclock
/etc/sysconfig/console: 配置启动脚本/etc/rc.d/init.d/console
/etc/sysconfig/createfiles: 配置启动脚本/etc/rc.d/init.d/cleanfs
/etc/sysconfig/ifconfig.eth0: 配置启动脚本/etc/rc.d/init.d/network
/etc/sysconfig/modules: 配置启动脚本/etc/rc.d/init.d/modules
/etc/sysconfig/network: 配置启动脚本/etc/rc.d/init.d/localnet
/etc/sysconfig/rc.site: 配置启动脚本/etc/rc.d/init.d/rc
/etc/sysconfig/udev_retry: 配置启动脚本/etc/rc.d/init.d/udev_retry
/home: 空
/lib: 包含各个软件包提供的动态链接库的符号链接
/lib/modules: Modules安装目录
/lib/{lsb,services}: 链接到软件包lfs_bootscript的相关脚本
/lib/firmware: 空
/lpkg: 含义为Linux Packages, LFS基础软件包的直接安装目录
/media: Mount point for removeable media
/media/cdrom: 空
/media/floopy: 空
/mnt: 空(Mount point for a temporarily mounted filesystem)
/opt : 空(Add-on application software packages)
/proc: Kernel and process information virtual filesystem
/root: Optional, Home directory for the root user
/run: A tmpfs, this file is not persistent across boots
/sbin: 符号链接到各软件包提供的binaries
/sdoc: 保存系统说明文件
/srv: 空,contains site-specific data which is served by this system.
/sys: mount sysfs
/tmp: Must be made available for programs that require temporary files. Programs must not assume that any files or directories in /tmp are preserved between invocations of the program.
/usr/bin: 符号链接到各软件包提供的binaries
/usr/include: 符号链接到各软件包提供的Headers
/usr/lib: 包含各个软件包提供的动态链接库的符号链接
/usr/local: 类似/usr,空
/usr/sbin: 符号链接到各软件包提供的binaries
/usr/share/{aclocal,aclocal-1.12}:各软件包提供的m4宏符号链接
/usr/share/{i18n,locale,terminfo,zoneinfo,tabset}:locale, charmaps,terminfo,zoneinfo,tabset等的符号链接
/usr/share/info:各软件包info文件的符号链接
/usr/share/man:各软件包man文件的符号链接
/usr/share/misc:各软件包misc文件的符号链接
/usr/share/ss:各软件包ss文件的符号链接
/usr/share/doc:各软件包doc文件的符号链接
/usr/share/et:各软件包et文件的符号链接
/usr/share/以软件包名称命名的文件夹: 其他各软件包提供的share文件的符号链接
/usr/src: 空
/var/: Contains variable data files. This includes spool directories and files, administrative and logging data, and transient and temporary files.