updatedb makes a slocate database
goldenchild@nettaxi.com
plug-discuss@lists.plug.phoenix.az.us
Fri, 20 Dec 2002 11:49:44 -0700
Just out of curiousity, what do you mean "secure version"? =20
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?
>=20
> 'slocate' is the command that you usually find named 'locate' on a Linu=
x=20
> system. It's just a secure version of the original 'locate' command.=20
>=20
> [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=20
> /usr/bin/locate*
> [eric@elap html]$ ls -li /usr/bin/slocate
> 321572 -rwxr-sr-x 2 root slocate 28120 Jul 17 10:39=20
> /usr/bin/slocate*
> [eric@elap html]
>=20
> Same inode number, same command.=20
>=20
> --=20
> Eric Lee Green GnuPG public key at http://badtux.org/eric/eric=
=2Egpg
> mailto:eric@badtux.org Web: http://www.badtux.org
>=20
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>=20