boot2.c need change or not.

Victor M. Blood freebsd at masm.elcom.ru
Sat Feb 7 13:09:26 PST 2009


Hi, All.

for my configuration with ntld realy need change of boot2.c file, may
be we can add option `BOOT_CONFIG_LINE' to kernel build instead of use
/boot.config ?

    /* Process configuration file */

    autoboot = 1;
#if (defined(BOOT_CONFIG_LINE))
        memcpy(cmd, BOOT_CONFIG_LINE, sizeof(BOOT_CONFIG_LINE));
#else
    if ((ino = lookup(PATH_CONFIG)))
        fsread(ino, cmd, sizeof(cmd));
#endif

-- 
With all regards, Victor M. Blood.     mailto: freebsd at masm.elcom.ru
FTN: 2:5024/1.95 at Fidonet.org, ICQ#3567656






More information about the freebsd-current mailing list