KERNEL MODIFICATION in config(8)

2012-03-21 Thread Alexey E. Suslikov
Hello tech@.

In KERNEL MODIFICATION section:

...
 When invoked, the kernel identification is first shown.

   # config -e -o bsd.new /bsd
   OpenBSD 2.6-beta (GENERIC.rz0) #0: Mon Oct  4 03:57:22 MEST 1999
   root@winona:/usr/src/sys/arch/pmax/compile/GENERIC.rz0
   Enter 'help' for information
   ukc

 One or more warnings may be printed before the ukc prompt.

   warning: no output file specified

 Neither the -f nor -o option has been specified.  Changes will be
 ignored.

   WARNING this kernel doesn't contain all information needed!
   WARNING the commands add and change might not work.

 The kernel is too old (pre OpenBSD 2.6) and cannot support all of the
 functionality needed by the -e option.

   WARNING kernel mismatch. -u ignored.
   WARNING the running kernel version:
...

Isn't that OpenBSD 2.6-beta pmap arch config example somewhat exotic and 
outdated? So about too old pre OpenBSD 2.6 kernel comment.

If above is done on purpose, just curious about the purpose :)

Alexey



Re: KERNEL MODIFICATION in config(8)

2012-03-21 Thread Ted Unangst
On Wed, Mar 21, 2012, Alexey E. Suslikov wrote:

 The kernel is too old (pre OpenBSD 2.6) and cannot support all of the
 functionality needed by the -e option.

 Isn't that OpenBSD 2.6-beta pmap arch config example somewhat exotic and
 outdated? So about too old pre OpenBSD 2.6 kernel comment.

The old example doesn't really matter, but yes, man pages generally
document the current system.  Obsolete warnings should be
removed.