bugfindutils - Bugs: bug #19485, feature request: storing relative...

 
 

bug #19485: feature request: storing relative pathnames in locate databases

Submitted by:  Peter Breitenlohner <peb>
Submitted on:  Mon 02 Apr 2007 08:06:17 AM UTC  
 
Category:  locate Severity:  3 - Normal
Item Group:  None Status:  Postponed
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  4.2.30 Fixed Release:  None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 11 Apr 2010 11:56:53 AM UTC, comment #1:

updatedb would probably be best rewritten. I'm going to mark the updatedb-related bus as "Postponed" in order to consider them all in a batch, when I get around to the rewrite.

(Leslie P. Polzer did start on a rewrite some time back as part of the Summer of Code but there are some updatedb-related issues his changes don't resolve yet, I think)

James Youngman <jay>
Project Administrator
Mon 02 Apr 2007 08:06:17 AM UTC, original submission:

When some (part of a) filesystem is present on an nfs server under one path and mounted on nfs client(s) under different path(s), it would be desirable to store only relative pathnames in a locate database for that filesystem and have the locate program prepend the applicable path prefix.

Attached are:

relpath.txt: short writeup of the design and implementation.

The present design would honor all objections raised by Bruno Haible against an earlier proposal.

patch-02-relpath-locate: patches for locate.c
patch-03-relpath-frcode: patches for frcode.c
patch-04-relpath-updatedb: patches for updatedb
patch-05-relpath-testcase: testcase for the new feature.

These four patches complete the implementation with these two exceptions:

(1) Usage message in frcode.c (requires translation)

(2) Updated documentation (man and info). If the patches mentioned above are accepted (possibly in modified form) I would be willing to provide the corresponding documentation patches.

Peter Breitenlohner <peb>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #12377:  patch-05-relpath-testcase added by peb (2KiB - application/octet-stream - testcase)
file #12373:  relpath.txt added by peb (3KiB - text/plain - sketch of design and implementation for locate databases with relative pathnames)
file #12374:  patch-02-relpath-locate added by peb (4KiB - application/octet-stream - sketch of design and implementation for locate databases with relative pathnames)
file #12375:  patch-03-relpath-frcode added by peb (2KiB - application/octet-stream - sketch of design and implementation for locate databases with relative pathnames)
file #12376:  patch-04-relpath-updatedb added by peb (3KiB - application/octet-stream - sketch of design and implementation for locate databases with relative pathnames)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jay (Posted a comment)
  • -email is unavailable- added by peb (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-04-11 jay StatusNone => Postponed
    2007-04-02 peb Attached File- => Added patch-05-relpath-testcase, #12377
    2007-04-02 peb Attached File- => Added relpath.txt, #12373
        Attached File- => Added patch-02-relpath-locate, #12374
        Attached File- => Added patch-03-relpath-frcode, #12375
        Attached File- => Added patch-04-relpath-updatedb, #12376

    Back to the top


    Powered by Savane 3.3