updatedb makes a slocate database

Michael Havens plug-discuss@lists.plug.phoenix.az.us
Wed, 18 Dec 2002 10:24:04 -0700


Thanks for your help.

On Wednesday 18 December 2002 09:48 am, Eric Lee Green wrote:
> On Wednesday 18 December 2002 09:51 am, Michael Havens wrote:
> > So it speeds up both locate and slocate?
>
> 'slocate' is the command that you usually find named 'locate' on a Linu=
x
> system. It's just a secure version of the original 'locate' command.
>
> [eric@elap html]$ which locate
> /usr/bin/locate
> [eric@elap html]$ rpm -qf /usr/bin/locate
> slocate-2.6-5mdk
> [eric@elap html]$ which slocate
> /usr/bin/slocate
> [eric@elap html]$ rpm -qf /usr/bin/slocate
> slocate-2.6-5mdk
> [eric@elap html]$ ls -li /usr/bin/locate
>  321572 -rwxr-sr-x    2 root     slocate     28120 Jul 17 10:39
> /usr/bin/locate*
> [eric@elap html]$ ls -li /usr/bin/slocate
>  321572 -rwxr-sr-x    2 root     slocate     28120 Jul 17 10:39
> /usr/bin/slocate*
> [eric@elap html]
>
> Same inode number, same command.

--=20
:-)~Mike~(-: