From: Dietmar Maurer <dietmar@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [PATCH proxmox-backup] pxar-fuse: only enable libfuse debug output in verbose mode
Date: Mon, 30 Nov 2026 11:03:58 +0100 [thread overview]
Message-ID: <20261130100358.79630-1-dietmar@proxmox.com> (raw)
Since commit 41d08aa6d, libfuse's debug output was only enabled in
verbose mode. The move to the proxmox-fuse session builder in commit
c443f58b0 enables it unconditionally, while the verbose flag only
controls the session's own error messages since.
proxmox-backup-client mount does not show it, as it redirects stderr
once daemonized, but pxar mount stays in the foreground and so prints
libfuse's trace of every request even without --verbose, as does any
other user of the crate that keeps stderr, for example a long-running
desktop client.
Fixes: c443f58b0 ("switch to external pxar and fuse crates")
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
---
pbs-pxar-fuse/src/lib.rs | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/pbs-pxar-fuse/src/lib.rs b/pbs-pxar-fuse/src/lib.rs
index ef6e8b89c..83528f920 100644
--- a/pbs-pxar-fuse/src/lib.rs
+++ b/pbs-pxar-fuse/src/lib.rs
@@ -88,8 +88,11 @@ impl Session {
verbose: bool,
path: &Path,
) -> Result<Self, Error> {
- let fuse = Fuse::builder("pxar-mount")?
- .debug()
+ let mut builder = Fuse::builder("pxar-mount")?;
+ if verbose {
+ builder = builder.debug();
+ }
+ let fuse = builder
.options_os(options)?
.enable_readdirplus()
.enable_read()
--
2.47.3
next reply other threads:[~2026-11-30 10:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 10:03 Dietmar Maurer [this message]
2026-12-01 2:27 ` applied: [PATCH proxmox-backup] pxar-fuse: only enable libfuse debug output in verbose mode Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261130100358.79630-1-dietmar@proxmox.com \
--to=dietmar@proxmox.com \
--cc=pbs-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.