소스 검색

docs: how to debug borg mount, fixes #5461

Thomas Waldmann 1 주 전
부모
커밋
92418883dc
1개의 변경된 파일7개의 추가작업 그리고 0개의 파일을 삭제
  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':