bug-findutils
[Top][All Lists]
Advanced

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

[bug #24748] updatedb


From: James Youngman
Subject: [bug #24748] updatedb
Date: Sat, 08 Nov 2008 15:11:27 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.3) Gecko/2008092814 Iceweasel/3.0.3 (Debian-3.0.3-3)

Update of bug #24748 (project findutils):

                Severity:              3 - Normal => 1 - Wish               

    _______________________________________________________

Follow-up Comment #1:

If you look at the menu bar at the top of this page, one of the items is
"Source Code".   The information there points to the findutils source code. 

Your idea is certainly interesting and could be made to work with a few
scripts on top of updatedb (more likely frcode though) and locate.  However,
there are a number of problems with this strategy.   One example is that the
user will clearly wish that when she renames a file, the file's attributes
will follow the new name:

updatetag personal thisfile.txt 
mv thisfile.txt thatfile.txt

Here, "locatetag personal" should return thatfile.txt, not the nonexistent
thisfile.txt.

There is a way of dong this, I think.  It owuld involve the use of extended
attributes.   See
http://www.kernel.org/doc/man-pages/online/pages/man2/setxattr.2.html for some
information (the equivalent command-line program is called setfattr,
apparently).

Finding of files by extended attribute values has been implemented by Leslie
Polzer as part of the Google Summer of Code.  Sadly, I have still not merged
those changes into the CVS repository.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?24748>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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