[Top][All Lists]

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

[bug #26945] [wishlist] locate-d: dynamic updates using dnotify, inotify

From: Paul Wise
Subject: [bug #26945] [wishlist] locate-d: dynamic updates using dnotify, inotify or fsnotify
Date: Fri, 03 Jul 2009 07:53:05 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20090502 Galeon/2.0.7 (Debian 2.0.7-1)


                 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



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:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]