updatedb makes a slocate database

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: Michael Havens
日付:  
題目: updatedb makes a slocate database
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~(-: