Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/locate/locate exclude cd9660 and procfs as well. fi...



details:   https://anonhg.NetBSD.org/src/rev/b1e5dfbc98be
branches:  trunk
changeset: 517133:b1e5dfbc98be
user:      lukem <lukem%NetBSD.org@localhost>
date:      Wed Nov 07 15:31:41 2001 +0000

description:
exclude cd9660 and procfs as well.  fixes PRs [bin/8454] and [bin/14006]

diffstat:

 usr.bin/locate/locate/updatedb.sh |  11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 9bc6b57225c6 -r b1e5dfbc98be usr.bin/locate/locate/updatedb.sh
--- a/usr.bin/locate/locate/updatedb.sh Wed Nov 07 14:50:32 2001 +0000
+++ b/usr.bin/locate/locate/updatedb.sh Wed Nov 07 15:31:41 2001 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-#      $NetBSD: updatedb.sh,v 1.5 2001/06/18 11:10:25 lukem Exp $
+#      $NetBSD: updatedb.sh,v 1.6 2001/11/07 15:31:41 lukem Exp $
 #
 # Copyright (c) 1989, 1993
 #      The Regents of the University of California.  All rights reserved.
@@ -54,8 +54,13 @@
 
 # search locally or everything
 # find -s $SRCHPATHS -print \
-find -s $SRCHPATHS \( ! -fstype local -o -fstype fdesc -o -fstype kernfs \) \
-               -a -prune -o -print \
+find -s $SRCHPATHS \( \
+    ! -fstype local    \
+    -o -fstype cd9660  \
+    -o -fstype fdesc   \
+    -o -fstype kernfs  \
+    -o -fstype procfs  \
+    \) -a -prune -o -print \
        >> "$FILELIST"
 
 BIGRAMS="`$LIBDIR/locate.bigram <$FILELIST`"



Home | Main Index | Thread Index | Old Index