no longer searches through kernfs and fdesc filesystems...

it was looking through /kern/root/kern/....
This commit is contained in:
cgd 1993-03-24 23:15:52 +00:00
parent 7c6490bf10
commit 9b4135471a
1 changed files with 2 additions and 1 deletions

View File

@ -56,7 +56,8 @@ set errs = $TMPDIR/locate.errs.$$
# search locally or everything
# find ${SRCHPATHS} -print | \
find ${SRCHPATHS} ! -fstype local -a -prune -o -print | \
find ${SRCHPATHS} \( ! -fstype local -o -fstype fdesc -o -fstype kernfs \) -a \
-prune -o -print | \
tr '/' '\001' | \
(sort -T /var/tmp -f; echo $status > $errs) | tr '\001' '/' > $filelist