Ensure /home is indexed on Btrfs
Closes #4292 Co-authored-by: @jorge-campo
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user