易截截图软件、单文件、免安装、纯绿色、仅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)

目的:
本文是《一种定位内存泄露的方法(Solaris)》对应的Linux版本,调试器使用gdb。主要介绍实例部分。其他请见《一种定位内存泄露的方法(Solaris)》。
实例:
模拟new失败的程序:
#include <stdexcept>
class ABC
{
public:
        virtual ~ABC(){}
 &nb ......

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

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

linux 让你的进程后台运行

fg、bg、jobs、&、ctrl + z都是跟系统任务有关的,虽然现在基本上不怎么需要用到这些命令,但学会了也是很实用的
一。& 最经常被用到
   这个用在一个命令的最后,可以把这个命令放到后台执行
二。ctrl + z
     可以将一个正在前台执行的命令放到后台,并且暂停
三。jobs
  & ......

linux设置启动载入动态链接库目录


Linux下安装完后Oracle客户端后调用OCI,编译没有问题,运行时发现
cannot open shared object file libclntsh.so.10.1: No such file or directory
经过查找发现是oracle的路径没有设置
输入:
locate libclntsh.so.10.1
获取对于路径
/app/oracle/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
编辑/etc/ld. ......

linux shell 脚本入门


1. Linux 脚本编写基础
1.1 语法基本介绍
1.1.1 开头
程序必须以下面的行开始(必须方在文件的第一行):
#!/bin/sh
符号#!用来告诉系统它后面的参数是用来执行该文件的程序。在这个例子中我们使用/bin/sh来执行程序。
当编辑好脚本时,如果要执行该脚本,还必须使其可执行。
要使脚本可执行:
编译 chmod +x ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号