Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2001 10:14:31 +0100
From:      Edwin Groothuis <mavetju@chello.nl>
To:        "Dan Mahoney, System Admin" <danm@prime.gushi.org>
Cc:        questions@freebsd.org
Subject:   Re: Things linux has (suggestion/question).
Message-ID:  <20010220101431.E4233@cgmd76206.chello.nl>
In-Reply-To: <Pine.BSF.4.21.0102200241530.5584-100000@prime.gushi.org>; from danm@prime.gushi.org on Tue, Feb 20, 2001 at 02:59:56AM -0500
References:  <Pine.BSF.4.21.0102200241530.5584-100000@prime.gushi.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 20, 2001 at 02:59:56AM -0500, Dan Mahoney, System Admin wrote:
> 1. Linux has a locate utility called slocate, which (A) rebuilds its
> database MUCH faster and (B) allows you to search with your privileges
> (for example, if you type locate as root, you can search the whole drive,
> whereas another user would not be able to see in things like user
> homedirs, etc).

Well, Debian doesn't have it by default (sorry, don't have friends
with other distributions :-) and I looked at slocate a little
(ftp://ftp.mkintraweb.com/pub/linux/slocate/) but couldn't get it
compiled within five minutes *mgrin*

main.c has some quirks regarding MOUNT_xx which is called VT_xx,
you need to put a * somewhere in a variable declaration, need to
include <fts.h> instaed of "sl_fts.h" and place the #define of
opendir2 a little bit lower.

So yeah, I got it compiled now after fifteen minutes. gmake install
also gives so problems, it tries to execute addgroup. Okay, if you
do it manual it will work better :-)

So yeah, it's now scratching my harddisk for information, so it
can be done *mgrin* and it can be put in the ports-collection, but
don't expect it to be part of the base-operating system because of
its GNU-license.

Edwin

-- 
Edwin Groothuis   |           Interested in MUDs? Visit Fatal Dimensions:
mavetju@chello.nl |                     http://fataldimensions.nl.eu.org/
------------------+               telnet://fataldimensions.nl.eu.org:4000

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010220101431.E4233>