a database of all existing files

mlocate.db(5): mlocate database - Linux man page  https://linux.die.net/man/5/mlocate.db

Name

mlocate.db - a mlocate database

Description

A mlocate database starts with a file header: 8 bytes for a magic number ("\0mlocate" like a C literal), 4 bytes for the configuration block size in big endian, 1 byte for file format version (0), 1 byte for the ‘require visibility‘ flag (0 or 1), 2 bytes padding, and a SMNUL-terminated path name of the root of the database.

The header is followed by a configuration block, included to ensure databases are not reused if some configuration changes could affect their contents. The size of the configuration block in bytes is stored in the file header. The configuration block is a sequence of variable assignments, ordered by variable name. Each variable assignment consists of a SMNUL-terminated variable name and an ordered list of SMNUL-terminated values. The value list is terminated by one more NULcharacter. The ordering used is defined by the strcmp () function.

w

1.143.  mlocate  https://www.centos.org/docs/5/html/5.4/technical-notes/mlocate.html

1.143.  mlocate

1.143.1.  RHBA-2009:1251: bug fix update

An updated mlocate package that disables scanning GFS file systems by default is now available.

mlocate is a locate/updatedb implementation. It keeps a database of all existing files and allows you to lookup files by name.

The updatedb program is configured by the mlocate package to run daily. In its default configuration, updatedb scans included GFS and GFS2 file systems. Running updatedb concurrently on multiple nodes leads to lock contention and large changes in cache usage. This substantially reduces the effective performance of the file system. This update excludes GFS volumes from the updatedb scan by default. As a consequence, locate(1) will not report files located on GFS volumes. (BZ#221547)

Users are advised to upgrade to this updated mlocate package.

locate(1): find files by name - Linux man page  https://linux.die.net/man/1/locate

Name

locate - find files by name

Synopsis

locate [OPTION]... PATTERN...

Description

locate reads one or more databases prepared by updatedb(8) and writes file names matching at least one of the PATTERNs to standard output, one per line.

If --regex is not specified, PATTERNs can contain globbing characters. If any PATTERN contains no globbing characters, locate behaves as if the pattern were *PATTERN*.

By default, locate does not check whether files found in database still exist. locate can never report files created after the most recent update of the relevant database.

updatedb(8): update database for mlocate - Linux man page  https://linux.die.net/man/8/updatedb

Name

updatedb - update a database for mlocate

Synopsis

updatedb [OPTION]...

Description

updatedb creates or updates a database used by locate(1). If the database already exists, its data is reused to avoid rereading directories that have not changed.

updatedb is usually run daily by cron(8) to update the default database.

Exit Status

updatedb returns with exit status 0 on success, 1 on error

时间: 2024-12-26 00:20:03

a database of all existing files的相关文章

do export method of oracle all database tables with dmp files.

usually we need to export the database tables to backup and others use. So we must know what to do export those data . just exmple when I export the oracle all database tables with dmp files. the method is following : #exp oracle_userName/""&quo

P6 Professional Installation and Configuration Guide (Microsoft SQL Server Database) 16 R1

P6 Professional Installation and Configuration Guide (Microsoft SQL Server Database) 16 R1       May 2016 Contents About This Guide...................................................................................... 11 Shared Topics in This Guide .

【oracle】oracledba17 The database returns and error and the database instance shuts down

A media failure has occurred. This has resulted in all the membe rs of the next hop log group being rendered inaccessible to the log w riter process (LGWR) at a log switch. How does this failure affect th e operational database? A. The database re-cr

Oracle创建Physical Standby Database案例

The following is the detail steps of how to create a physical standby database: This case is created, operated and followed on the steps from oracle online help documentation. The configuration of the two sites server as following: Primary Database:

Oracle管理文件OMF (oracle managed files)

简化dba的管理操作 1:启用 omf 23:16:04 [email protected]> show parameter DB_CREATE_FILE_DEST NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ db_create_file_dest string 23:16:17 [email protected]> select distinct

Database snapshot

Database Snapshot 是数据库某一个时间点的一个read-only副本,这个read-only副本占用的存储空间不一定很大.如果Source DB的某一个page修改了,那么在这个Page被修改之前,数据库会先copy一份数据,存放在Database Snapshot 的数据库Files中,即保留这个page的copy.SourceDB中的数据会修改,但是Database Snapshot的数据不会修改. The actual space needed for each snaps

Django Ubuntu:Database returned an invalid value in QuerySet.dates(). 错误的解决方法

运行Windows下创建的Django项目时,发生此错误! Database returned an invalid value in QuerySet.dates(). Are time zone definitions and pytz installed? 按提示先安装pytz 1.先安装easy_install: sudo apt-get install python-setuptools 2.进入官网,获取下载地址,使用wget命令下载: wget https://pypi.pytho

Oracle 11g RAC database on ASM, ACFS or OCFS2

I see a lot of questions on shared file systems that can be used when people move from single instance to Oracle RAC database and Grid Infrastructure. The most common question is the following: “Should I place archive logs in OCFS2 or ASM or ACFS of

创建数据库 - with CREATE DATABASE STATEMENT

1. Set SIDin bashORACLE_SID=ocmexport ORACLE_SID2. Set Env VarsORACLE_SID and ORACLE_HOME3. Choose a Database Administrator Authentication Methodpassword fileOS auth4. Create Init Parameter File$ORACLE_HOME/dbs/initocm.ora6. Connect to the InstancePa