From c0eb0c935cdf66fdb4fdea99a051818f7a6a8c76 Mon Sep 17 00:00:00 2001 From: sxyazi Date: Sun, 22 Mar 2026 06:35:25 +0800 Subject: [PATCH] fix: treat `nfs4` mounts as soundless for directory refresh --- yazi-fs/src/mounts/partition.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yazi-fs/src/mounts/partition.rs b/yazi-fs/src/mounts/partition.rs index ccbab9da..d4df4844 100644 --- a/yazi-fs/src/mounts/partition.rs +++ b/yazi-fs/src/mounts/partition.rs @@ -25,7 +25,7 @@ impl Partition { // and should be polled for changes. pub fn soundless(&self) -> bool { let b: &[u8] = self.fstype.as_ref().map_or(b"", |s| s.as_encoded_bytes()); - matches!(b, b"fuse.rclone") + matches!(b, b"fuse.rclone" | b"nfs4") } #[rustfmt::skip]