#! /bin/bash
#
# rc This file is responsible for starting/stopping # 该脚本主要是用于在切换运行级别时启动/停止服务
# services when the runlevel changes.
#
# Original Author: &..
#!/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 &..
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..
/etc/inittab文件中每个登记项的结构都是一样的,共分为以冒号“:”分隔的4个字段。具体如下:
identifier
: run_level : action : process
其中,各字段以及与其相关的说明如下:
identifier 登记项标识符,最多为4个字符。用于惟一地标识/etc/inittab文件中的每一个登记项
run_level
系统运行级,即执行登记项的init级别。用于指定相应的登记项适用于哪一个运行级,即在哪一个运行级中被处理。如果该字段为空,那么相应的登记项将..
可能原因:
1、 busybox核心配置过程中
shells-->[ ]Job control 不选择
[*]cttyhack 必须选择,否则sh无法工作
2、网上有部分说该提示是由于dma通道问题,换光驱启动即..
===================================================================
--- 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' */
..