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

[ale] Re: error messages from updatedb



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