From owner-freebsd-questions@FreeBSD.ORG Sat Aug 2 12:30:22 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93E6D10656D2 for ; Sat, 2 Aug 2008 12:30:22 +0000 (UTC) (envelope-from bcook@poughkeepsieschools.org) Received: from mail.poughkeepsieschools.org (mail.poughkeepsieschools.org [64.72.66.117]) by mx1.freebsd.org (Postfix) with ESMTP id 6431A8FC22 for ; Sat, 2 Aug 2008 12:30:22 +0000 (UTC) (envelope-from bcook@poughkeepsieschools.org) Received: from [69.206.230.225] (port=65175 helo=iMac.at.home) by mail.poughkeepsieschools.org with esmtpsa (TLSv1:AES128-SHA:128) (BSD WebSolutions, Inc.) (envelope-from ) id 1KPGFZ-000PsD-5n for freebsd-questions@freebsd.org (authenticated as bcook@poughkeepsieschools.org); Sat, 02 Aug 2008 08:30:21 -0400 X-BSD-Virus-Check: ClamAV 0.93.1/7915 on mail.poughkeepsieschools.org; Sat, 02 Aug 2008 08:30:21 -0400 Message-Id: <69728418-D91B-41C4-B4E0-F3913584AEC4@poughkeepsieschools.org> From: "B. Cook" To: freebsd-questions@freebsd.org In-Reply-To: <20080802131909.07ccddab@gumby.homeunix.com.> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v926) Date: Sat, 2 Aug 2008 08:30:20 -0400 References: <88DEC8CC-1BBC-4AAA-AECF-0F8736043212@poughkeepsieschools.org> <20080802131909.07ccddab@gumby.homeunix.com.> X-Mailer: Apple Mail (2.926) Subject: Re: get periodic to not scan a partition X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Aug 2008 12:30:22 -0000 On Aug 2, 2008, at 8:19 AM, RW wrote: > On Sat, 2 Aug 2008 06:22:17 -0400 > "B. Cook" wrote: > >> hello all, >> >> I have a machine doing backups with backuppc (excellent program btw) >> and I have them being stored in /exports >> >> /dev/ad4s1h 57G 31G 21G 60% /exports >> >> /dev/ad4s1h on /exports (ufs, local, noatime, soft-updates) >> >> it is now almost 6:20 am and periodic has been running since 3:01.. >> and it will complete in another 4 hours.. >> >> root 92866 0.6 0.1 3064 1488 ?? D 3:01AM 1:00.93 >> find / exports -xdev -type f ( -perm -u+x -or -perm -g+x -or -perm >> -o+x ) ( - perm -u+s -or -perm -g+s ) -print0 >> >> is there something I can do to get periodic to not look in /exports? > > The above search is looking for setuid binaries, if you mount /exports > as noexec and/or nosuid then it wont get searched. > I will see what happens when I do that.. as I remember it did something to break the building of world and I think port building as well.. this /exports also holds /usr/obj /usr/src and /usr/ports they are symlinks to here. Again from what I remember having nosuid and/or noexec on /usr/obj and/ or /usr/ports was a 'problem' as well..