Martin Bastien
8ef4eb24a2
Keep Btrfs snapshots out of the locate index and put /home in it
...
The stock Arch updatedb.conf interacts badly with Omarchy's Btrfs
layout in both directions:
- Snapper snapshots under /.snapshots are nested subvolumes reached by
plain directory traversal, so updatedb indexes the entire system once
per snapshot. On machines that accumulated snapshots this means
multi-hour updatedb runs at full CPU, gigabytes of RAM, and a
multi-gigabyte plocate.db (observed: 18 GB db, 7.5 h runs at 96% CPU
with 592 snapshots; 43 MB and ~1 min after the fix).
- PRUNE_BIND_MOUNTS="yes" treats Btrfs subvolume mounts like /home as
bind mounts, so locate finds nothing in home directories at all.
Configure updatedb.conf at install time and migrate existing installs,
then rebuild the index in the background. Both settings are matched
tolerantly and appended when absent, so a hand-edited updatedb.conf is
fixed rather than silently skipped.
2026-07-23 09:10:16 -04:00
..
2026-07-22 15:27:56 -07:00
2026-05-25 14:47:08 +02:00
2026-06-22 19:57:05 +02:00
2026-07-17 16:17:49 -07:00
2026-07-18 21:23:09 -07:00
2026-07-08 11:49:56 -07:00
2026-05-25 20:57:19 +02:00
2026-05-25 14:18:39 +02:00
2026-07-20 16:37:33 -07:00
2026-05-25 14:18:39 +02:00
2026-06-24 13:31:17 +02:00
2026-07-18 10:08:43 -07:00
2026-06-08 17:20:59 +02:00
2026-06-04 12:11:41 -04:00
2026-06-02 22:19:09 -04:00
2026-06-29 11:18:33 -05:00
2026-07-22 17:25:28 -07:00
2026-06-04 11:15:28 +02:00
2026-07-02 21:32:30 -07:00
2026-07-21 16:47:36 -07:00
2026-06-08 12:03:40 -04:00
2026-07-16 21:53:15 -07:00
2026-07-18 18:21:39 -07:00
2026-05-27 10:41:12 +02:00
2026-07-11 11:42:55 -07:00
2026-05-29 15:25:21 +02:00
2026-06-04 18:38:25 -04:00
2026-07-17 07:59:16 -07:00
2026-07-19 17:36:34 -07:00
2026-07-22 21:48:30 -07:00
2026-07-17 10:20:08 -07:00
2026-06-09 15:13:23 -04:00
2026-07-16 21:19:28 -07:00
2026-05-29 15:59:13 +02:00
2026-07-21 15:25:49 -07:00
2026-06-22 17:32:56 +02:00
2026-07-21 15:26:10 -07:00
2026-06-23 16:22:27 +02:00
2026-07-22 16:10:45 -07:00
2026-07-18 10:29:38 -07:00
2026-06-28 20:46:23 -04:00
2026-07-22 15:27:56 -07:00
2026-07-23 09:10:16 -04:00
2026-07-19 11:03:00 -07:00
2026-06-04 18:38:25 -04:00
2026-05-25 20:57:19 +02:00
2026-06-25 06:55:11 -04:00
2026-07-22 16:06:55 -07:00
2026-07-20 11:07:44 -07:00
2026-06-12 13:49:46 -04:00
2026-07-20 11:07:44 -07:00
2026-06-29 15:28:16 -05:00
2026-07-20 09:03:26 -07:00
2026-07-20 21:52:32 -07:00
2026-05-25 14:47:08 +02:00
2026-06-21 12:31:06 +02:00
2026-06-29 09:44:29 -05:00
2026-07-21 15:26:20 -07:00
2026-05-25 23:51:48 +02:00
2026-07-19 21:17:04 -07:00
2026-07-18 21:49:47 -07:00
2026-07-22 16:33:54 -07:00
2026-06-24 13:40:16 +02:00
2026-07-18 12:31:03 -07:00
2026-05-25 20:57:19 +02:00
2026-05-25 14:47:08 +02:00
2026-07-22 15:27:56 -07:00
2026-07-17 17:45:29 -07:00
2026-06-29 10:49:43 -05:00
2026-06-29 10:49:43 -05:00
2026-07-19 09:33:23 -07:00
2026-06-22 18:30:16 +02:00
2026-05-25 14:18:39 +02:00
2026-07-22 12:44:09 -07:00
2026-06-04 12:11:41 -04:00
2026-07-22 17:31:14 -07:00
2026-07-17 18:28:44 -07:00
2026-07-22 17:31:14 -07:00
2026-07-19 17:36:34 -07:00
2026-07-18 18:40:11 -07:00
2026-07-22 17:31:14 -07:00
2026-07-19 21:49:41 -07:00
2026-07-17 10:20:08 -07:00
2026-05-29 14:28:03 +02:00
2026-06-29 08:51:15 -05:00
2026-06-04 11:14:04 +02:00
2026-05-27 15:11:36 +02:00
2026-05-27 13:48:40 +02:00
2026-06-23 15:59:27 +02:00
2026-06-04 18:38:25 -04:00
2026-06-04 18:38:25 -04:00
2026-06-04 18:38:25 -04:00
2026-07-18 21:42:00 -07:00
2026-07-17 07:59:20 -07:00
2026-07-21 11:22:51 -07:00
2026-07-22 17:31:14 -07:00