From owner-freebsd-stable Tue Jun 15 11:16:45 1999 Delivered-To: freebsd-stable@freebsd.org Received: from luna.lyris.net (luna.shelby.com [207.90.155.6]) by hub.freebsd.org (Postfix) with ESMTP id 7448715622 for ; Tue, 15 Jun 1999 11:16:41 -0700 (PDT) (envelope-from kip@lyris.com) Received: from luna.shelby.com by luna.lyris.net (8.9.1b+Sun/SMI-SVR4) id LAA17500; Tue, 15 Jun 1999 11:09:56 -0700 (PDT) Received: from (luna.shelby.com [207.90.155.6]) by luna.shelby.com with SMTP (MailShield v1.50); Tue, 15 Jun 1999 11:09:56 -0700 Date: Tue, 15 Jun 1999 11:09:55 -0700 (PDT) From: X-Sender: kip@luna To: Dag-Erling Smorgrav Cc: chad@DCFinc.com, nick@kolia.north.gencon.com, freebsd-stable@FreeBSD.ORG Subject: Re: open files In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SMTP-HELO: luna X-SMTP-MAIL-FROM: kip@lyris.com X-SMTP-RCPT-TO: des@flood.ping.uio.no,chad@DCFinc.com,nick@kolia.north.gencon.com,freebsd-stable@FreeBSD.ORG X-SMTP-PEER-INFO: luna.shelby.com [207.90.155.6] Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG find . -name "*" | xargs grep "SYSCTL\." and find . -name "*" | xargs grep "SYSCTL\.*maxfiles" don't find anything, just searching for SYSCTL ends up searching through binaries. -Kip On 15 Jun 1999, Dag-Erling Smorgrav wrote: > kip@lyris.com writes: > > I am sorry, but I don't see any files in there other than Makefile. When I > > grep down the hierarchy for kern.maxfiles I eventually get "/usr/bin/grep: > > Argument list too long". Is there a specific file somewhere in there? > > No. Don't use glob patterns; use find and xargs. And don't grep for > 'kern.maxfiles', but for 'SYSCTL.*maxfiles'. > > DES > -- > Dag-Erling Smorgrav - des@flood.ping.uio.no > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message