Ensure /home is indexed on Btrfs

Closes #4292
Co-authored-by: @jorge-campo
This commit is contained in:
David Heinemeier Hansson
2026-02-20 22:19:22 +01:00
parent b7544ecf3c
commit 9f561e0123
2 changed files with 5 additions and 1 deletions
+2 -1
View File
@@ -1,2 +1,3 @@
# Update localdb so that locate will find everything installed
# Ensure /home is indexed on Btrfs (subvolumes look like bind mounts)
sudo sed -i 's/PRUNE_BIND_MOUNTS.*=.*/PRUNE_BIND_MOUNTS = "no"/' /etc/updatedb.conf
sudo updatedb
+3
View File
@@ -0,0 +1,3 @@
echo "Fix locate not indexing home on Btrfs"
sudo sed -i 's/PRUNE_BIND_MOUNTS.*=.*/PRUNE_BIND_MOUNTS = "no"/' /etc/updatedb.conf
sudo updatedb