From owner-freebsd-hackers Mon Jun 4 11:57: 7 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from idiom.com (idiom.com [216.240.32.1]) by hub.freebsd.org (Postfix) with ESMTP id 4C9DD37B403 for ; Mon, 4 Jun 2001 11:57:04 -0700 (PDT) (envelope-from rdm@cfcl.com) Received: from cfcl.com (cpe-24-221-169-54.ca.sprintbbd.net [24.221.169.54]) by idiom.com (8.9.3/8.9.3) with ESMTP id LAA37050 for ; Mon, 4 Jun 2001 11:57:03 -0700 (PDT) Received: from [192.168.168.205] (cerberus [192.168.168.205]) by cfcl.com (8.11.1/8.11.1) with ESMTP id f54IwbK19976 for ; Mon, 4 Jun 2001 11:58:37 -0700 (PDT) (envelope-from rdm@cfcl.com) Mime-Version: 1.0 Message-Id: Date: Mon, 4 Jun 2001 11:50:56 -0700 To: hackers@FreeBSD.ORG From: Rich Morin Subject: speeding up /etc/security Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG /etc/security takes a number of hours to run on my system. The problem is that I have some very large mounted file systems and the code to look for setuid files wants to walk through them all. I recoded the check in Perl, but it ran at about the same speed. I have considered reworking the code to do the file systems in parallel, but I thought I should ask here first. Comments? Suggestions? -r -- http://www.cfcl.com/rdm - home page, resume, etc. http://www.cfcl.com/Meta/md_fb.html - The FreeBSD Browser email: rdm@cfcl.com; phone: +1 650-873-7841 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message