[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Re: error messages from updatedb
- Subject: [ale] Re: error messages from updatedb
- From: davids at mindspring.com (David C. Snyder)
- Date: Wed, 28 Feb 1996 22:20:24 -0500
Hello Mark,
I just changed my crontab (use 'crontab -e' as root) so that updatedb
sends it's output to /dev/null. Mine looks like this:
0 7 * * * /usr/bin/updatedb > /dev/null 2>&1
Files in the /proc filesystem change very frequently. The updatedb script
calls find(1) and pipes the output to another command. By the time that
second command processes the file list, the files in /proc have changed.
Try this:
find . -print | xargs ls > /dev/null
I get:
ls: ./self/fd/3: No such file or directory
ls: ./self/fd/4: No such file or directory
ls: ./351: No such file or directory
I hope this helps a little...
-- David
dsnyder at mindspring.com