URL: <http://savannah.gnu.org/bugs/?26945>
Summary: [wishlist] locate-d: dynamic updates using dnotify, inotify or fsnotify Project: findutils Submitted by: pabs Submitted on: Fri 03 Jul 2009 03:53:04 PM WST Category: locate Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Originator Name: Originator Email: Open/Closed: Open Discussion Lock: Any Release: None Fixed Release: None _______________________________________________________ Details: It would be nice to not have to run updatedb every night, causing large I/O bandwidth reading every filename off the disk. One way to achieve this would be locate-d, a daemon which would listen to kernel-emitted filesystem events (from dnotify, inotify or fsnotify for Linux) and then update the database at a configurable interval. By storing timestamps of the events in the database, information about the evolution of the filesystem over time could be obtained. locate could be modified to query this daemon before checking the database. Such a feature (along with fixing the other issues fixed by other implementations) could make GNU findutils the default locate implementation on most GNU/Linux distros again. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?26945> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/