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

linux根文件系统挂载

由bootload进入linux后由head.s进入了start_kernel了.
asmlinkage void __init start_kernel(void)
{
       char * command_line;
       extern struct kernel_param __start___param[], __stop___param[];
       ………………..
       setup_arch(&command_line);
       ………….
       ………..
       vfs_caches_init(num_physpages); ………….     
 
…………...
       rest_init();
}
 
重要函数解释
 
1.Setup_arch是解释bootloader传过来的参数,并附相关参数。
 
void __init setup_arch(char **cmdline_p)
{
       struct tag *tags = (struct tag *)&init_tags;
       struct machine_desc *mdesc;
       char *from = default_command_line;
 
       setup_processor();
       mdesc = setup_machine(machine_arch_type);
       machine_name = mdesc->name;
 
       if (mdesc->soft_reboot)
              reboot_setup("s");
 
       if (mdesc->boot_params)
              tags = phys_to_virt(mdesc->boot_params);
 
       /*
        * If we have the old style parameters, convert them to
        * a tag list.
        */
 &nb


相关文档:

Linux大师(古鲁,Guru)推荐什么?






<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
-->
       在现实生活中被人们称为大师级的人物确实很少见。
Brian
Proffitt
先生就是一位全球知名、受人尊敬的
Linux
大师。此言有何根据?近日,他向我们推荐了什么?
 
   ......

Linux下启动oracle

1. linux下启动oracle
su - oracle
sqlplus /nolog
conn /as sysdba
startup
exit
lsnrctl start
exit
2. linux下关闭oracle
su - oracle
sqlplus /nolog
conn /as sysdba
shutdown immediate
exit
lsnrctl stop
exit
可以使用lsnrctl 进去后用status查看状态,类似:
lsnrctl
status
http://hi.baidu.c ......

linux 0.11 内核学习 buffer.c


/*
 * buffer.c 程序用于对高速缓冲区(池)进行操作和管理。高速缓冲
 * 区位于内核代码和主内存区之间。
 *
 *  |---|---|------------------|---------------------|-------------------|
 *  |   |   |    *   *    *    | &nbs ......

SubVersion定期完整备份脚本(Linux)

脚本功能: 定期对一些项目进行完整备份.
project.lst 文件格式如下:
project1
project2
备份脚本如下:
#!/bin/sh
#
# subversion data backup script
# by scud http://www.jscud.com
# 2005-11-27
#
# subversion完整备份的脚本,调整好后使用crontab -e 放到自动执行里面即可.
#
#备份日志文件
LogFile=/bac ......

Linux Kernel驱逐Android:到底发生了什么

关注Android,关注Google   前日Linux Kernel维护者Greg Kroah-Hartman把Android代码从Linux Kernel代码库中删除的消息引来了广泛关注,开发界已有很多评论对此事进行讨论。ifanr今日提供了当天Greg声明的全译文,下面就让我们来看看。 2.6.33 版内核移除了Android的代码。很多人不断地问我发生了什么,对于And ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号