Date: Wed, 2 Jan 2002 15:58:47 -0800 (PST) From: Marc van Woerkom <3d@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: conf/33499: Doc error in src/UPDATING doc or me stupid Message-ID: <200201022358.g02Nwlm88499@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201022358.g02Nwlm88499>
