On Tue, Nov 29, 2022 at 03:04:01PM -0800, Ross Vandegrift wrote: > Interesting - stat -f does the same, and it always returns nfs. Here's > a lame idea: /proc/mounts knows it's actually autofs...
Most of this logic is inherited from mlocate's updatedb, though not all. It may be fixable or it may not; I'd really need to check. But it really sounds like one should be able to stat() something without bad things happening :-) I guess as a workaround, you can ask systemd to sandbox away the mount for updatedb? /* Steinar */ -- Homepage: https://www.sesse.net/