INIT: vesion 2.88 booting

/*****************************************************************************
 *                        INIT: vesion 2.88 booting
 * 说明:
 *     Bruce问INIT: vesion 2.88 booting是哪里输出的,找一下资料。
 *
 *                                            2017-5-16 台湾 中和区 曾剑锋
 ****************************************************************************/

一、参考源代码:
    https://github.com/pexip/os-sysvinit/blob/master/src/init.c

二、输出原理:
    1. 2601行:
        initlog(L_CO, bootmsg, "booting");
    2. bootmsg:
        char *bootmsg = "version " VERSION " %s";
    3. VERSION:
        #define VERSION "2.88"

 

posted on 2017-05-16 17:13  zengjf  阅读(470)  评论(0编辑  收藏  举报

导航