Merge pull request #9052 from ThomasWaldmann/borg-mount-debugging-1.4

docs: how to debug borg mount, fixes #5461
This commit is contained in:
TW 2025-10-10 20:19:16 +02:00 committed by GitHub
commit 5a1f21fee2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3269,6 +3269,13 @@ class Archiver:
When running in the foreground, ^C/SIGINT cleanly unmounts the filesystem,
but other signals or crashes do not.
Debugging:
``borg mount`` usually daemonizes and the daemon process sends stdout/stderr
to /dev/null. Thus, you need to either use ``-f / --foreground`` to make it stay
in the foreground and not daemonize, or use ``BORG_LOGGING_CONF`` to reconfigure
the logger to output to a file.
""")
if parser.prog == 'borgfs':