linux根文件系统与initrd(转)
1
根文件系统
简单来说,(根文件系统)就是系统第一个
mount
的文件系统
Filesystem
Handling
Like
every
traditional
Unix
system,
Linux
makes
use
of
a
system 's
root
filesystem
:
it
is
the
filesystem
that
is
directly
mounted
by
the
kernel
during
the
booting
phase
and
that
holds
the
system
initialization
scripts
and
the
most
essential
system
program.
Other
filesystems
can
be
mounted
either
by
the
initialization
scripts
or
directly
by
the
users on
directories
of
already
mounted
filesystems.
Being
a
tree
of
directories
every
filesystem
has
its
own
root
directory.
The
directory
on
which
a
filesystem
is
mounted
is
called
the
mount
point.
A
mounted
filesystem
is
a
child
of
the
mounted
相关文档:
1 系统平台的硬件结构
本文使用的系统平台硬件功能框图如图1所示,该平台采用Samsung公司的处理器S3C2410。该处理器内部集成了ARM公司ARM920T处 理器核的32b微控制器,资源丰富,带独立的16kB的指令Cache和16kB数据Cache,LCD控制器、RAM控制器,NAND闪存控制器,3路 UART、4路DMA、4路带PWM的Timer、并行I/O口、8路10位A ......
1 首先ORACLE_SID问题
[oracle@paopao ~]$ echo $ORACLE_SID
orcl
因为要创建的数据库名为orcl1,所以更改ORACLE_SID如下:
[oracle@paopao ~]$ export ORACLE_SID=orcl1
2 准备初始化参数文件
##########################################################################
####
# Copyright (c) 19 ......
1号进程,pid为1的进程,又称init进程。
linux系统启动后,第一个被创建的用户态进程就是init进程。它有两项使命:
1、执行系统初始化脚本,创建一系列的进程(它们都是init进程的子孙);
2、在一个死循环中等待其子进程的退出事件,并调用waitid系统调用来完成“收尸”工作;
init进程不会被暂 ......
1.下载linux kernel源代码
到http://www.kernel.org/下载linux内核源代码,这里我们使用2.6.24.4的内核.
解压linux-2.6.24.4.tar.bz2
[matt@localhost GEC2410]$ tar -xvjf linux-2.6.24.4.tar.bz2
[matt@localhost GEC2410]$ cd linux-2.6.24.4
2.修改Makefile,设置交叉编译器
ARCH ?= arm
CROSS_COMPILE ......