SUMMARY: "Fast find" ignores many files

From: Ole Holm Nielsen (ohnielse@ltf.dth.dk)
Date: Mon Oct 19 1992 - 16:50:53 CDT


Dear fellow managers,

The original question:

>I have been plagued and puzzled for a while by the inability of
>"fast find" to locate many files throughout our system.
>Using the standard /usr/lib/find/updatedb (in SunOS 4.1.1), it
>appears that certain disk partitions are entirely neglected
>by updatedb (namely, the /, /usr and several user disks mounted
>under /export/home/XXX).

The summary:

The /usr/lib/find/updatedb as well as /bin/sort use /tmp as scratch
space, but remain silent if there is insufficient space. Our 9 MB
of /tmp turned out to be insufficient.

The details:

Modify /usr/lib/find/updatedb like this:

# Directory on large filesystem for sorting space
TEMP=<directory with lots of space>
bigrams=$TEMP/f.bigrams$$
filelist=$TEMP/f.list$$
errs=$TEMP/f.errs$$

and use the -T flag of sort to use the TEMP space, replacing every
occurrence of "sort" by "sort -T $TEMP".

Thanks to:
Daniel Quinlan <danq@lemond.Colorado.EDU>
"David J. MacKenzie" <djm@eng.umd.edu>
Ace Stewart <jstewart@mailbox.syr.edu>
Ted Rodriguez-Bell <ted@ssl.Berkeley.EDU>
 
Ole Holm Nielsen
UNI-C, Building 305
Technical University of Denmark, DK-2800 Lyngby, Denmark
E-mail: Ole.H.Nielsen@uni-c.dk
Telephone: (+45) 42 88 39 99 (dial-tone) 2404 or 2244



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:06:52 CDT