bug-findutils
[Top][All Lists]
Advanced

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

[bug #19485] feature request: storing relative pathnames in locate datab


From: Peter Breitenlohner
Subject: [bug #19485] feature request: storing relative pathnames in locate databases
Date: Mon, 02 Apr 2007 08:06:18 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0

URL:
  <http://savannah.gnu.org/bugs/?19485>

                 Summary: feature request: storing relative pathnames in
locate databases
                 Project: findutils
            Submitted by: peb
            Submitted on: Monday 04/02/2007 at 08:06
                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: 4.2.30
           Fixed Release: None

    _______________________________________________________

Details:

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.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Monday 04/02/2007 at 08:06  Name: relpath.txt  Size: 3kB   By: peb
sketch of design and implementation for locate databases with relative
pathnames
<http://savannah.gnu.org/bugs/download.php?file_id=12373>
-------------------------------------------------------
Date: Monday 04/02/2007 at 08:06  Name: patch-02-relpath-locate  Size: 4kB  
By: peb
sketch of design and implementation for locate databases with relative
pathnames
<http://savannah.gnu.org/bugs/download.php?file_id=12374>
-------------------------------------------------------
Date: Monday 04/02/2007 at 08:06  Name: patch-03-relpath-frcode  Size: 2kB  
By: peb
sketch of design and implementation for locate databases with relative
pathnames
<http://savannah.gnu.org/bugs/download.php?file_id=12375>
-------------------------------------------------------
Date: Monday 04/02/2007 at 08:06  Name: patch-04-relpath-updatedb  Size: 3kB 
 By: peb
sketch of design and implementation for locate databases with relative
pathnames
<http://savannah.gnu.org/bugs/download.php?file_id=12376>

    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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