From nobody@FreeBSD.org  Wed Jan  2 15:58:48 2002
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id DFBD537B419
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  2 Jan 2002 15:58:47 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.6/8.11.6) id g02Nwlm88499;
	Wed, 2 Jan 2002 15:58:47 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200201022358.g02Nwlm88499@freefall.freebsd.org>
Date: Wed, 2 Jan 2002 15:58:47 -0800 (PST)
From: Marc van Woerkom <3d@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Doc error in src/UPDATING doc or me stupid
X-Send-Pr-Version: www-1.0

>Number:         33499
>Category:       conf
>Synopsis:       Doc error in src/UPDATING doc or me stupid
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    imp
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 02 16:00:01 PST 2002
>Closed-Date:    Sun Jan 6 13:19:11 MST 2002
>Last-Modified:  Sun Jan 06 13:19:25 MST 2002
>Originator:     Marc van Woerkom
>Release:        Christmas -CURRENT
>Organization:
Tired Parents :-)
>Environment:
>Description:
The src/UPDATING document contains this paragraph:

        To just build a kernel when you know that it won't mess you up
	--------------------------------------------------------------
	cd src/sys/{i386,alpha}/conf
	config KERNEL_NAME_HERE			[1]
	cd ../../compile/KERNEL_NAME_HERE
	make depend
	make
	make install	
	
	[1] If in doubt, -r might help here.

This note confuses me, as I can't find a -r option
for config.



>How-To-Repeat:
Look at src/UPDATING

  http://www.freebsd.org/cgi/cvsweb.cgi/src/UPDATING?rev=1.187&content-type=text/x-cvsweb-markup

compare with source

  http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/config/main.c?rev=1.54&content-type=text/x-cvsweb-markup

  int
  main(int argc, char **argv)
  {
    /* .. */
	while ((ch = getopt(argc, argv, "d:gp")) != -1)
		switch (ch) {
		case 'd':
			if (*destdir == '\0')
				strlcpy(destdir, optarg, sizeof(destdir));
			else
				errx(2, "directory already set");
			break;
		case 'g':
			debugging++;
			break;
		case 'p':
			profiling++;
			break;
		case '?':
		default:
			usage();
		}
	argc -= optind;
    /* .. */
  }

I can't spot it. 

>Fix:
Was perhaps "-d" meant?

Happy new year to all BSDers!
Marc

>Release-Note:
>Audit-Trail:

From: Andy Farkas <andyf@speednet.com.au>
To: <freebsd-gnats-submit@FreeBSD.ORG>
Cc:  
Subject: Re: conf/33499: Doc error in src/UPDATING doc or me stupid
Date: Thu, 3 Jan 2002 16:28:10 +1100 (EST)

 On Wed, 2 Jan 2002, Marc van Woerkom wrote:
 
 > 	[1] If in doubt, -r might help here.
 >
 > This note confuses me, as I can't find a -r option
 > for config.
 
 There is another typo present in all branches:
 
  [6] From the bootblocks, boot -s, and then do
 		fsck -p
 		mount -u /
 		mount -a
 		cd /usr/src
 		adjkerntz -i		# if COMS is wall time
                                              ^^^^
 
 --
 
  :{ andyf@speednet.com.au
 
         Andy Farkas
     System Administrator
    Speednet Communications
  http://www.speednet.com.au/
 
 
 
Responsible-Changed-From-To: freebsd-bugs->imp 
Responsible-Changed-By: mike 
Responsible-Changed-When: Sun Jan 6 11:44:34 PST 2002 
Responsible-Changed-Why:  

Over to the maintainer. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=33499 
State-Changed-From-To: open->closed 
State-Changed-By: imp 
State-Changed-When: Sun Jan 6 13:19:11 MST 2002 
State-Changed-Why:  
fixed.  There's no -r in current, only stable. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=33499 
>Unformatted:
