From owner-freebsd-bugs Wed Jan 2 16: 0:12 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C1FA137B41C for ; Wed, 2 Jan 2002 16:00:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g03001x88697; Wed, 2 Jan 2002 16:00:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id DFBD537B419 for ; 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 X-Send-Pr-Version: www-1.0 Subject: conf/33499: Doc error in src/UPDATING doc or me stupid Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 33499 >Category: conf >Synopsis: Doc error in src/UPDATING doc or me stupid >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Wed Jan 02 16:00:01 PST 2002 >Closed-Date: >Last-Modified: >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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message