From naddy@unix-ag.uni-kl.de Mon Sep 13 05:49:41 1999
Return-Path: <naddy@unix-ag.uni-kl.de>
Received: from news.uni-kl.de (news.uni-kl.de [131.246.137.51])
	by hub.freebsd.org (Postfix) with SMTP id 349E814F8B
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 13 Sep 1999 05:49:33 -0700 (PDT)
	(envelope-from naddy@unix-ag.uni-kl.de)
Received: from sushi.unix-ag.uni-kl.de
           ( root@sushi.unix-ag.uni-kl.de [131.246.89.13] ) by news.uni-kl.de
          id aa29715 for <FreeBSD-gnats-submit@freebsd.org>;
          13 Sep 1999 14:51 MESZ
Received: from fettuccini.unix-ag.uni-kl.de (fettuccini.unix-ag.uni-kl.de [131.246.89.27])
	by sushi.unix-ag.uni-kl.de (8.9.1a/8.9.1) with ESMTP id OAA00731
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 13 Sep 1999 14:49:26 +0200
Received: (from naddy@localhost)
	by fettuccini.unix-ag.uni-kl.de (8.9.3/8.9.3) id OAA00578;
	Mon, 13 Sep 1999 14:49:32 +0200 (CEST)
	(envelope-from naddy)
Message-Id: <199909131249.OAA00578@fettuccini.unix-ag.uni-kl.de>
Date: Mon, 13 Sep 1999 14:49:32 +0200 (CEST)
From: Christian Weisgerber <naddy@unix-ag.uni-kl.de>
Reply-To: naddy@unix-ag.uni-kl.de
To: FreeBSD-gnats-submit@freebsd.org
Subject: Comment in LINT: extracting config file from kernel
X-Send-Pr-Version: 3.2

>Number:         13725
>Category:       kern
>Synopsis:       Comment in LINT: extracting config file from kernel
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sheldonh
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 13 05:50:03 PDT 1999
>Closed-Date:    Tue Dec 21 01:22:13 PST 1999
>Last-Modified:  Mon Apr 10 01:00:01 PDT 2000
>Originator:     Christian Weisgerber
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
Unix-AG, Uni Kaiserslautern
>Environment:

n/a

>Description:

Cosmetic change to the comment in LINT explaining how to extract
the configuration file from a kernel built with "options
INCLUDE_CONFIG_FILE".

>How-To-Repeat:

n/a

>Fix:

--- /sys/i386/conf/LINT	Sun Sep 12 12:40:22 1999
+++ LINT	Mon Sep 13 14:43:04 1999
@@ -63,7 +63,7 @@
 
 # This allows you to actually store this configuration file into
 # the kernel binary itself, where it may be later read by saying:
-#    strings -aout -n 3 /kernel | grep ^___ | sed -e 's/^___//' > MYKERNEL
+#    strings -n 3 /kernel | sed -n 's/^___//p' > MYKERNEL
 #
 options         INCLUDE_CONFIG_FILE     # Include this file in kernel
 

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->sheldonh 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Mon Sep 13 10:37:48 PDT 1999 
Responsible-Changed-Why:  
I'll take this one. 
State-Changed-From-To: open->closed 
State-Changed-By: sheldonh 
State-Changed-When: Tue Dec 21 01:22:13 PST 1999 
State-Changed-Why:  
It's conceivable that a system with a new LINT may have on it 
several ancient kernels for which the suggested strings magic 
won't work.  It's a marginal case, but it does preclude the  
proposed simplification. 

From: Sheldon Hearn <sheldonh@uunet.co.za>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: kern/13725: extracting config file from kernel
Date: Mon, 10 Apr 2000 09:51:10 +0200

 The command has been simplified in rev 1.765.
 
 Ciao,
 Sheldon.
 
>Unformatted:
