From owner-freebsd-questions@FreeBSD.ORG Wed Apr 20 13:04:41 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F3AE816A4CE for ; Wed, 20 Apr 2005 13:04:40 +0000 (GMT) Received: from postino-2.etat.lu (postino-2.etat.lu [194.154.205.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A11A43D1F for ; Wed, 20 Apr 2005 13:04:40 +0000 (GMT) (envelope-from didier.wiroth@mcesr.etat.lu) Received: from avirus-2.cie.etat.lu (dispatch-2.cie.etat.lu [148.110.137.7]) by postino-2.etat.lu (Postfix) with ESMTP id D68F71132D5B for ; Wed, 20 Apr 2005 15:04:38 +0200 (CEST) Received: from avirus-2.cie.etat.lu (dispatch-2.cie.etat.lu [148.110.137.7]) by localhost (CIE ESMTP Dispatch 2) with ESMTP id EC2EE356E9 for ; Wed, 20 Apr 2005 15:04:38 +0200 (CEST) Received: from hermes-1.cie.etat.lu (hermes-1.cie.etat.lu [148.110.136.56]) DA8BF356BD for ; Wed, 20 Apr 2005 15:04:38 +0200 (CEST) Received: from hermes-1.cie.etat.lu (hermes-1.cie.etat.lu [148.110.136.56]) by store.etat.lu (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IF800JAVXNQL670@store.etat.lu> for freebsd-questions@freebsd.org; Wed, 20 Apr 2005 15:04:38 +0200 (MEST) Received: from lucy ([148.110.43.189]) by store.etat.lu (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IF8007FNXNQ1I20@store.etat.lu> for freebsd-questions@freebsd.org; Wed, 20 Apr 2005 15:04:38 +0200 (MEST) Date: Wed, 20 Apr 2005 15:04:40 +0200 From: Didier Wiroth To: freebsd-questions@freebsd.org Message-id: <0IF8007FOXNQ1I20@store.etat.lu> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Mailer: Microsoft Office Outlook, Build 11.0.6353 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Thread-index: AcVFqYMVfmATxhlrQaudoE2UNgvYHQ== Subject: parse dmesg, compare to GENERIC and create MYKERNEL? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Apr 2005 13:04:41 -0000 Hi, I was wondering if there is a tool available that can: 1) parse the dmesg file 2) compare it to the GENERIC kernel file 3) and create a file called (for example) CUSTOM or MYKERNEL where unused devices are disabled (or commented out). There was/is (it's pretty old now) a tool available for openbsd called dmassage (see: http://www.sentia.org/projects/dmassage/manpage.shtml) Is there a similar tool available for freebsd? thanks a lot didier