From owner-freebsd-questions Fri Sep 1 21:04:18 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id VAA23265 for questions-outgoing; Fri, 1 Sep 1995 21:04:18 -0700 Received: from aries.ibms.sinica.edu.tw ([140.109.40.248]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id VAA23245 for ; Fri, 1 Sep 1995 21:03:55 -0700 Received: (from taob@localhost) by aries.ibms.sinica.edu.tw (8.6.11/8.6.9) id MAA25850; Sat, 2 Sep 1995 12:03:24 +0800 Date: Sat, 2 Sep 1995 12:03:23 +0800 (CST) From: Brian Tao To: Andrew Herdman cc: freebsd-questions@FreeBSD.org Subject: Re: Finding out all the kernal compile options In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: questions-owner@FreeBSD.org Precedence: bulk On Tue, 29 Aug 1995, Andrew Herdman wrote: > > Is there a place I can look for all these extra items that are not in LINT? find /sys -name "*.[ch]" -print | xargs fgrep -h #ifdef | sort -u :) You'll find such gems as: #ifdef COMPAT_SUNOS #ifdef NOISE_WHEN_TGT_NO_CDB #ifdef NOT_AT_THE_MOMENT #ifdef NOT_YET #ifdef NO_NO #ifdef PECULIAR_486 #ifdef SILLYSEPARATE #ifdef THISDONTDONOTHING #ifdef THREEWAYSHAKE #ifdef TUBA #ifdef WHEN_QUADS_WORK #ifdef ancient_history #ifdef doesnt_work #ifdef probably_never And my favourite: #ifdef GOTTABEJOKING :) -- Brian ("Though this be madness, yet there is method in't") Tao taob@gate.sinica.edu.tw <-- work ........ play --> taob@io.org