Page MenuHomeDevCentral

Allow updatedb to index ZFS datasets
ClosedPublic

Authored by dereckson on May 9 2023, 21:01.
Tags
None
Referenced Files
F5053970: D3082.id7865.diff
Tue, Mar 4, 05:07
F5053966: D3082.id7866.diff
Tue, Mar 4, 05:07
F5050437: D3082.id.diff
Tue, Mar 4, 04:29
F5050346: D3082.diff
Tue, Mar 4, 04:07
Unknown Object (File)
Sun, Mar 2, 02:22
Unknown Object (File)
Thu, Feb 20, 05:52
Unknown Object (File)
Wed, Feb 12, 19:14
Unknown Object (File)
Tue, Feb 11, 19:40
Subscribers
None

Details

Summary

On FreeBSD servers, a weekly task runs updatedb to update the locate index.

Currently, ZFS datasets are excluded from the index, with the expedient
not to index anything with a .zfs subfolder.

An example of the consequence of this default configuration:
locate index.html on web-001 doesn't find anything in /var/wwwroot.

Test Plan

Deployed on web-001, run updatedb, files now appears

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
locate
Build Status
Buildable 4864
Build 5145: arc lint + arc unit

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.May 9 2023, 21:01
dereckson retitled this revision from Allow locate to index ZFS datasets to Allow updatedb to index ZFS datasets.May 9 2023, 21:02
dereckson edited the summary of this revision. (Show Details)
This revision was automatically updated to reflect the committed changes.