From owner-freebsd-hackers Fri May 22 18:13:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA04900 for freebsd-hackers-outgoing; Fri, 22 May 1998 18:13:31 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from d183-205.uoregon.edu (d183-205.uoregon.edu [128.223.183.205]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA04862 for ; Fri, 22 May 1998 18:13:25 -0700 (PDT) (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by d183-205.uoregon.edu (8.8.8/8.8.7) id SAA04724; Fri, 22 May 1998 18:13:20 -0700 (PDT) Message-ID: <19980522181320.51147@hydrogen.nike.efn.org> Date: Fri, 22 May 1998 18:13:20 -0700 From: John-Mark Gurney To: Eivind Eklund Cc: hackers@FreeBSD.ORG Subject: Re: Kernel hackers Tricks & Tips References: <19980522235637.35026@follo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: <19980522235637.35026@follo.net>; from Eivind Eklund on Fri, May 22, 1998 at 11:56:37PM +0200 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 2.2.6-STABLE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Eivind Eklund scribbled this message on May 22: > 1. The kernel is large; it is convenient to be able to grep in it > without it taking time corresponding to it's size. To accomplish > this, you can use 'glimpse' from the ports collection > (textproc/glimpse). > To build the indexes (assuming you have your kernel in /sys): > % glimpseindex -b /sys/ > ^^ large index - no option give you a tiny index > (2-3%), -o small (7-8%), -b large (20-30%) > Afterwards, you just use > % glimpse > to search for . Glimpse support a somewhat limited set of > regexpen. this is an absolute must if you need to find stuff, I've been putting off installing glimpse for a LONG time, and now I regret that I waited so long... be prepared for a commit that will document (and remove) a number of kernel options.. also, if you run across any options that haven't been documented, or isn't a proper option, send it to me, and I'll document it (or remove it if it isn't used anymore, like LINUX)... :) -- John-Mark Gurney Modem Rev/FAX: +1 541 346 9237 Cu Networking P.O. Box 5693, 97405 Live in Peace, destroy Micro$oft, support free software, run FreeBSD Don't trust anyone you don't have the source for To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message