From 6c0863cf76fca8f5ed7cd7cb8af7e6857f8fa5f3 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Mon, 27 Dec 2021 11:09:29 +0100 Subject: [PATCH] Document interactions with Btrfs subvolume mounts better. --- updatedb.conf.5.in | 5 +++++ 1 file changed, 5 insertions(+) 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. -- 2.39.2