From 4e72863ba5d5c3a216722ebb7c3f7d085033d36a Mon Sep 17 00:00:00 2001 From: chrislu Date: Tue, 15 Feb 2022 00:26:30 -0800 Subject: [PATCH] mount2 add debug mode --- weed/command/mount2_std.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/command/mount2_std.go b/weed/command/mount2_std.go index 89935e684..721c380e4 100644 --- a/weed/command/mount2_std.go +++ b/weed/command/mount2_std.go @@ -155,7 +155,7 @@ func RunMount2(option *Mount2Options, umask os.FileMode) bool { Name: "seaweedfs", SingleThreaded: false, DisableXAttrs: false, - Debug: false, + Debug: *option.debug, EnableLocks: false, ExplicitDataCacheControl: false, // SyncRead: false, // set to false to enable the FUSE_CAP_ASYNC_READ capability