From owner-freebsd-questions@FreeBSD.ORG Wed Feb 6 17:26:18 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id AD777E1B for ; Wed, 6 Feb 2013 17:26:18 +0000 (UTC) (envelope-from tjg@ucsc.edu) Received: from mail-ia0-x22a.google.com (mail-ia0-x22a.google.com [IPv6:2607:f8b0:4001:c02::22a]) by mx1.freebsd.org (Postfix) with ESMTP id 51171C1E for ; Wed, 6 Feb 2013 17:26:18 +0000 (UTC) Received: by mail-ia0-f170.google.com with SMTP id k20so1898197iak.29 for ; Wed, 06 Feb 2013 09:26:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucsc.edu; s=ucsc-google; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=VZFqPQ7HwtULxB2gippSi/N7AiR/hXoOyMX9LtsDKJI=; b=grz2Mj4eVBYxA+XmzCryH1tTYumebligZAljn8U1GN4KcgfPK57u8AyZM5I95kMPHW iIUhLlThgnSC3j8K/5lBzXTNGTa/q0aIbFy15/dv45F8ptV++u6inUYZx46yTQe94F63 hd2bNHGtG0QppaU8su3rGLca9Hys2mweJ8HHg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:x-gm-message-state; bh=VZFqPQ7HwtULxB2gippSi/N7AiR/hXoOyMX9LtsDKJI=; b=YIROGyCxM4N1SbfSEuTByCMXK459fGS3YbGOgCsWsAZSlVA8+bLZHNlxrVq9bSP6JP SWM07uD7FdtKxXc/Po1ne2//kbs9bkI9zIA7KAewGiR1SL1VHzWtIB+LxiAz4Fizr1lF ah9QSR/HO/z9G7JUnsFeCXKwv8MiwAWJOzj622ReDtyVOgJYOvpNlLmsEs9QcUsCR202 bvngzfSSBWqfw9pe1GIj5Q6/P7PXgOU430LMtEULQ2t/ZR2qXLgnJKJd7dgSFubcFlT6 hUV/FCj4ppL4jeG6zxY9rhRguUkfGnkk9oTvMVONGjue+/bxwkZIT1pd77lTvW02M55e Mndg== MIME-Version: 1.0 X-Received: by 10.50.237.5 with SMTP id uy5mr8002569igc.12.1360171577608; Wed, 06 Feb 2013 09:26:17 -0800 (PST) Received: by 10.42.241.73 with HTTP; Wed, 6 Feb 2013 09:26:17 -0800 (PST) In-Reply-To: References: Date: Wed, 6 Feb 2013 09:26:17 -0800 Message-ID: Subject: Restricting Periodic Scripts From: Tim Gustafson To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQn3+MLhPOFZENTzPEN4v5UByjsOrQVlPJ6kLOEOTD3TfWKDnNx0p2+sllbR/YDyCW2hyjKT X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Feb 2013 17:26:18 -0000 I have a FreeBSD ZFS file server with tens of millions of files stored on it. But, the daily periodic scripts like /etc/periodic/security/110.neggrpperm and /etc/periodic/weekly/310.locate take hours iterating through those folders, and I just don't need them to be scanned. I see that I can edit /etc/locate.rc to fix the behavior for /etc/periodic/weekly/310.locate but I don't see a way to exclude folders from other scripts like /etc/periodic/security/110.neggrpperm from scanning them. Is there any way to prune out folders that I don't want scanned, or should I just disable those jobs? -- Tim Gustafson tjg@ucsc.edu 831-459-5354 Baskin Engineering, Room 313A