Ver Fonte

docs: how to debug borg mount, fixes #5461

Thomas Waldmann há 1 semana atrás
pai
commit
92418883dc
1 ficheiros alterados com 7 adições e 0 exclusões
  1. 7 0
      src/borg/archiver.py

+ 7 - 0
src/borg/archiver.py

@@ -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':