[patch] nextboot(8) arbitrary kernel environment

Ian Lepore freebsd at damnhippie.dyndns.org
Mon Jan 30 20:12:25 UTC 2012

On Mon, 2012-01-30 at 14:57 -0500, Ed Maste wrote:
> I have a patch to allow nextboot(8) to set arbitrary kernel environment
> variables (not just the kernel dir and kernel_options).  The usage becomes:
> Usage: nextboot [-e variable=value] [-f] [-k kernel] [-o options]
>        nextboot -D
> and the new option is documented as:
>      -e variable=value
>                  This option adds the provided variable and value to the ker-
>                  nel environment.  The value is quoted when written to the
>                  nextboot configuration.
> The patch also makes -k an option (no longer mandatory).  The patch is at
> http://people.freebsd.org/~emaste/nextboot.diff .  I'll commit it in a few
> days if no concerns are raised by review or my testing.
> -Ed

Minor nit:

  -It is not the most thoroughly tested code.
  +It is not the most throughly tested code.

The original spelling is the correct one.

-- Ian

More information about the freebsd-current mailing list