Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Apr 2007 09:13:17 -0400
From:      "Brian A. Seklecki" <bseklecki@collaborativefusion.com>
To:        Dave <dmehler26@woh.rr.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: error in find on daily output disk clean
Message-ID:  <1176815597.25941.136.camel@soundwave.pgh.priv.collaborativefusion.com>
In-Reply-To: <000d01c780e6$e0ac9a70$0200a8c0@satellite>
References:  <000d01c780e6$e0ac9a70$0200a8c0@satellite>

next in thread | previous in thread | raw e-mail | index | archive | help
The script doesn't grep -v for any user-settable variable to exclude
certain paths...it just runs on / with some FS Type exceptions.

A quick cheap hack could be put in place to include "!
${user_settable_exclude}

~BAS

 rc=$(find / \( ! -fstype local -o -fstype rdonly \) -a -prune -o \
                \( $args \) -atime +$daily_clean_disks_days -delete
$print |
                tee /dev/stderr | wc -l)


On Tue, 2007-04-17 at 07:52 -0400, Dave wrote:
> Hello,
>     One of my periodic.conf checks is running the daily disk cleaner. When 
> it uses find it is looking in my jail area, which has device files and other 
> virtual items that are not existing. I am getting output from find in the 
> output to that effect. I'd like to tell find in that script not to look in 
> my jail area, to exclude it.
> Thanks.
> Dave.
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
-- 
Brian A. Seklecki <bseklecki@collaborativefusion.com>
Collaborative Fusion, Inc.




IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited.  Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1176815597.25941.136.camel>