易截截图软件、单文件、免安装、纯绿色、仅160KB

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  

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 


相关文档:

Linux iptable文档

总览
用iptables -ADC 来指定链的规

,-A添加 -D删除 -C 修改
iptables - [RI] chain rule num rule-specification[option]
用iptables - RI 通过规则的顺序指定
iptables -D chain rule num[option]
删除指定规则
iptables -[LFZ] [chain][option]
用iptables -LFZ 链名 [选项]
iptables -[NX] chain
用 -NX ......

关于Linux的视频编程(v4l2编程)

前言:
目前正在忙于ARM平台的Linux应用程序的开发(其实是刚刚起步学习啦)。底层的东西不用考虑了,开发板子提供了NAND Bootloader,和Linux 2.6的源码,而且都编译好了。自己编译的bootloader可以用,但是Linux编译后,文件很大,暂且就用人家编译的系统,先专心写应用程序 吧。。
正文:要做的任务是,把一块板子上的 ......

linux捕获KILL命令的信号

linux中一共有32种信号,在/usr/include/bits/signum.h 头文件中可以看到
#define    SIGHUP        1    /* Hangup (POSIX).  */
#define    SIGINT        2    /* Interrupt (ANSI).& ......

linux 1号进程

1号进程,pid为1的进程,又称init进程。
  linux系统启动后,第一个被创建的用户态进程就是init进程。它有两项使命:
  1、执行系统初始化脚本,创建一系列的进程(它们都是init进程的子孙);
  2、在一个死循环中等待其子进程的退出事件,并调用waitid系统调用来完成“收尸”工作;
  init进程不会被暂 ......

Linux用Nasm巧汇编

随着Linux的普及,如何在Linux平台下进行编程,尤其是汇编成为大家关注的一个问题,但是这方面资料却很少。在遍访网站和论坛后,我把收集到的资料结合本人总结的一些经验跟大家分享一下。
Nasm介绍
Linux下的汇编编译器有多种,语法也不尽相同,其中GAS是比较基本的汇编工具。但是GAS采用的不是我们通常在DOS体系下使用 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号