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.
>
> _______________________________________________
> [email protected] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
--
Brian A. Seklecki <[EMAIL PROTECTED]>
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.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"