Re: updatedb

From: V Krish (krish_uses_linux_at_yahoo.com)
Date: 02/09/05

  • Next message: Jim Christiansen: "Re: Firefox crash after printing"
    Date: Tue, 8 Feb 2005 17:19:44 -0800 (PST)
    To: akonstam@trinity.edu, For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    updatedb is simply a link to slocate with -u option.
    slocate.cron reads updatedb.conf and then invokes
    updatedb

    Krish
    -------

    --- akonstam@trinity.edu wrote:
    > I am confused . If you want to exclude a directory
    > path from the
    > running of updatedb the -e option seems to be what
    > you want to use.
    > Where does slocate come in to it?
    >
    =======================================================================
    > Good salesmen and good repairmen will never go
    > hungry.
    > -- R.E. Schenk
    > -------------------------------------------
    > Aaron Konstam
    > Computer Science
    > Trinity University
    > One Trinity Place.
    > San Antonio, TX 78212-7200

    > On Tue, Feb 08, 2005 at 11:16:47AM -0800, V Krish
    > wrote:
    > > I am using FC2 and have mounted an external drive
    > > thus:
    > > mount /dev/sda1 /mnt/usb
    > >
    > > How do I modify the /etc/updatedb.conf file if I
    > want
    > > to exclude the external drive from the daily
    > slocate
    > > search done by slocate.cron? Do I add /dev/sda1 to
    > > PRUNEFS or /mnt/usb to PRUNEPATHS?
    > >
    > > Thanks,
    > > Krish
    > > -------------
    > I am confused . If you want to exclude a directory
    > path from the
    > running of updatedb the -e option seems to be what
    > you want to use.
    > Where does slocate come in to it?
    >
    =======================================================================
    > Good salesmen and good repairmen will never go
    > hungry.
    > -- R.E. Schenk
    > -------------------------------------------
    > Aaron Konstam
    > Computer Science
    > Trinity University
    > One Trinity Place.
    > San Antonio, TX 78212-7200
    >
    > telephone: (210)-999-7484
    > email:akonstam@trinity.edu
    >
    > --

    __________________________________________________
    Do You Yahoo!?
    Tired of spam? Yahoo! Mail has the best spam protection around
    http://mail.yahoo.com

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Jim Christiansen: "Re: Firefox crash after printing"

    Relevant Pages

    • Re: Slocate - what is happening?
      ... > Still fantastic but I have a weird problem with slocate that was not ther ... When I go to create the database with updatedb the system ... I suspect that the answer is simpler than reinstalling and wonder ...
      (alt.os.linux.redhat)
    • Re: using find command to search in current directory only
      ... look at how GNU locate (not slocate) works. ... >> updatedb as, same for the solution given above. ... permissions to the database, or regular users couldn't access it. ... My code in this post is copyright 2004, Chris F.A. Johnson and may be copied under the terms of the GNU General Public License ...
      (comp.unix.shell)
    • Re: Missing files in locatedb
      ... /etc/updatedb.conf; updatedb ... I use package 'slocate' instead of 'locate': ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: slocate doesnt
      ... I would expect that "slocate -u" and "updatedb" to be one and the same, but give the "updatedb" command a try and see if that solves it. ... veritatis simplex oratio est ...
      (RedHat)