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

Bug#3022: updatedb --prune-paths doesn't work with mountpoints

Package: findutils
Version: 4.1-4

I don't want updatedb to kill my news server's performance every night by
recursing through the hundreds of thousands of files there, which all have
names like `168' anyway.  So I changed /etc/cron.daily/find to read:

su nobody -c "updatedb --prune-paths='/tmp /var/tmp /var/spool'" 2>/dev/null

However, this doesn't work, apparently because /var/spool/news is a
mountpoint, and mountpoints are not subject to --prune-paths.

/var/spool, certainly /var/spool/news, ought to be pruned by default.

Shields, CrossLink.

Reply to: