博客统计信息

用户名:vping9211
文章数:6
评论数:0
访问量:7097
无忧币:18
博客积分:30
博客等级:1
注册日期:2008-09-11

最新评论

我最近发表的评论

#! /bin/bash
#
# rc            This file is responsible for starting/stopping                            # 该脚本主要是用于在切换运行级别时启动/停止服务
#               services when the runlevel changes.
#
# Original Author: &..
类别:未分类|阅读(163)|回复(0)|(0)阅读全文>>
#!/bin/bash
#
# /etc/rc.d/rc.sysinit - run once at boot time

#
 
# Rerun ourselves through initlog                                                // 通过 /sbin/initlog 命令重新运行自己
if [ -z "$IN_INITLOG" -a -x /sbin/initlog ]; then &..
类别:未分类|阅读(465)|回复(0)|(0)阅读全文>>

Creating a Compressed RAM Disk
a) Decide on the RAM disk size that you want. Say 8 MB for this example.

    dd if=/dev/zero of=ramdisk bs=1k count=8192
 
b) Make a filesystem on it. Say ext2fs for this example.
 
$mke2fs -F -vm0 ramdisk
 
mke2fs 1.38 (22-April-2006)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
2048 inodes, 8192 blocks
409 blocks (4.99%) reserved for the super user
First data b..
类别:未分类|阅读(695)|回复(0)|(0)阅读全文>>
2008-09-11 08:40:01

/etc/inittab文件中每个登记项的结构都是一样的,共分为以冒号“:”分隔的4个字段。具体如下:
 
    identifier
:  run_level  :  action  :  process
其中,各字段以及与其相关的说明如下:
identifier  登记项标识符,最多为4个字符。用于惟一地标识/etc/inittab文件中的每一个登记项

run_level
  系统运行级,即执行登记项的init级别。用于指定相应的登记项适用于哪一个运行级,即在哪一个运行级中被处理。如果该字段为空,那么相应的登记项将..
类别:未分类|阅读(306)|回复(0)|(0)阅读全文>>
可能原因:
  1、    busybox核心配置过程中
      shells-->[ ]Job control             不选择
                     [*]cttyhack               必须选择,否则sh无法工作
  2、网上有部分说该提示是由于dma通道问题,换光驱启动即..
类别:未分类|阅读(1765)|回复(0)|(0)阅读全文>>
===================================================================
--- init/init.c (revision 20841)
+++ init/init.c (working copy)
@@ -757,7 +757,7 @@
/* Skip leading spaces */
id = skip_whitespace(buf);
/* Skip the line if it's a comment */
- if (*id == '#' || *id == '\n')
+ if (*id == '#' || *id == '\n' || (*id == '\0'))
continue;
/* Trim the trailing '\n' */
..
类别:未分类|阅读(986)|回复(0)|(0)阅读全文>>

我的技术圈(0)

更多>>