]> git.sesse.net Git - plocate/commitdiff
Document interactions with Btrfs subvolume mounts better.
authorSteinar H. Gunderson <steinar+git@gunderson.no>
Mon, 27 Dec 2021 10:09:29 +0000 (11:09 +0100)
committerSteinar H. Gunderson <steinar+git@gunderson.no>
Mon, 27 Dec 2021 10:09:29 +0000 (11:09 +0100)
updatedb.conf.5.in

index dd11fa9311bb3ff7552ee8f8879ac7756bed1360..73e090db6847cd301e472f9aa124af0b5dd85b23 100644 (file)
@@ -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.