From: Steinar H. Gunderson Date: Mon, 27 Dec 2021 10:09:29 +0000 (+0100) Subject: Document interactions with Btrfs subvolume mounts better. X-Git-Tag: 1.1.14~1 X-Git-Url: https://git.sesse.net/?p=plocate;a=commitdiff_plain;h=6c0863cf76fca8f5ed7cd7cb8af7e6857f8fa5f3 Document interactions with Btrfs subvolume mounts better. --- diff --git a/updatedb.conf.5.in b/updatedb.conf.5.in index dd11fa9..73e090d 100644 --- a/updatedb.conf.5.in +++ b/updatedb.conf.5.in @@ -97,6 +97,11 @@ bind mounts are not scanned by All file systems mounted in the subtree of a bind mount are skipped as well, even if they are not bind mounts. As an exception, bind mounts of a directory on itself are not skipped. +Note that Btrfs subvolume mounts are handled internally in the kernel +as bind mounts (see +.BR btrfs-subvolume (8)), +and thus, may get skipped if you have also mounted the filesystem root itself. +To counteract this, make your root directory a Btrfs subvolume, too. By default, bind mounts are not skipped.