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
相关文档:
目的:
本文是《一种定位内存泄露的方法(Solaris)》对应的Linux版本,调试器使用gdb。主要介绍实例部分。其他请见《一种定位内存泄露的方法(Solaris)》。
实例:
模拟new失败的程序:
#include <stdexcept>
class ABC
{
public:
virtual ~ABC(){}
&nb ......
备份控制文件包括三种方法:
(1)通过操作系统命令在数据库关闭时对控制文件进行COPY;
(2)利用ALTER DATABASE BACKUP CONTROLFILE TO命令将控制文件备份到二进制文件;
SQL> alter database backup controlfile to 'E:\oracle\product\10.2.0\orcl\controlfile01.bak';
数据库已更改。
(3)利用ALTER DATABASE BACKU ......
随着Linux的普及,如何在Linux平台下进行编程,尤其是汇编成为大家关注的一个问题,但是这方面资料却很少。在遍访网站和论坛后,我把收集到的资料结合本人总结的一些经验跟大家分享一下。
Nasm介绍
Linux下的汇编编译器有多种,语法也不尽相同,其中GAS是比较基本的汇编工具。但是GAS采用的不是我们通常在DOS体系下使用 ......
原文地址:
Linux Ubuntu 9.1 fcitx 小企鹅 中文输入法安装
作者:
渐行渐远的船
安装Ubuntu9.1,选择中文安装。
安装好后,Ubuntu已经自带了一个ibus中文输入法,可是用起来很不爽,不如小企鹅方便。
安装小企鹅方法,和网上的比较,这里的可能是比较简单的了,配置要简单多了。电脑要联网 ......
Linux 安装中文包
首先,安装中文包:
#yum groupinstall chinese-support
其次,修改一下字符编码的配置。
# vi /etc/sysconfig/i18n
修改后内容如下:
LANG="zh_CN.GB18030"
SUPPORTED="zh_CN.UTF-8:zh_CN:zh:en_US.UTF-8:en_US:en:zh_CN.GB18030"
SYSFONT="latarcyrheb-sun16"
最后重启服 ......