[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tiger-devel] patch: findprune to check_exrc
From: |
bodik |
Subject: |
[Tiger-devel] patch: findprune to check_exrc |
Date: |
Thu, 10 Apr 2008 14:39:48 +0200 |
User-agent: |
Icedove 1.5.0.14pre (X11/20080305) |
Hi,
we propose this patch to Tiger. It adds FINDPRUNE option to check_exrc
script in the same way find_files uses it.
We use this option on servers with large distributed FS, withouth patch
script never ends because is crawling our AFS tree ...
bodik
--- check_exrc 2008-04-08 00:20:35.000000000 +0200
+++ check_exrc 2008-04-08 00:23:50.000000000 +0200
@@ -24,6 +24,7 @@
#
#
# 14 April 2003 - jfs - Created this script based on patch #1354
+# 08 April 2008 - bodik - FINDPRUNE patch based on find_files
#
#-----------------------------------------------------------------------------
#
@@ -81,7 +82,7 @@
# Note $NICE is not needed, if defined then it is used
-$NICE $FIND / -name '.exrc' -print 2>/dev/null |\
+$NICE $FIND / $FINDPRUNE -name '.exrc' -print 2>/dev/null |\
while read FILEPATH
do
EXRCDIR=${FILEPATH%/.exrc}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Tiger-devel] patch: findprune to check_exrc,
bodik <=