From 401e0b5d3149899affa759835061360a3adadfbb Mon Sep 17 00:00:00 2001 From: Changjian Gao Date: Wed, 15 Sep 2021 14:32:20 +0800 Subject: [PATCH] Docs: update mount log in quick start guide (#833) --- cmd/format.go | 2 +- docs/en/quick_start_guide.md | 4 ++-- docs/zh_cn/quick_start_guide.md | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cmd/format.go b/cmd/format.go index ad83eec8..9284e5a8 100644 --- a/cmd/format.go +++ b/cmd/format.go @@ -203,7 +203,7 @@ func format(c *cli.Context) error { if err != nil { logger.Fatalf("object storage: %s", err) } - logger.Infof("Data uses %s", blob) + logger.Infof("Data use %s", blob) if os.Getenv("JFS_NO_CHECK_OBJECT_STORAGE") == "" { if err := test(blob); err != nil { logger.Fatalf("Storage %s is not configured correctly: %s", blob, err) diff --git a/docs/en/quick_start_guide.md b/docs/en/quick_start_guide.md index 1ffd20a9..e450ae5b 100644 --- a/docs/en/quick_start_guide.md +++ b/docs/en/quick_start_guide.md @@ -93,7 +93,7 @@ After executing the command, you will see output similar to the following, indic ```shell 2021/04/29 23:01:18.352256 juicefs[34223] : Meta address: redis://127.0.0.1:6379/1 2021/04/29 23:01:18.354252 juicefs[34223] : Ping redis: 132.185µs -2021/04/29 23:01:18.354758 juicefs[34223] : Data uses 127.0.0.1:9000/pics/ +2021/04/29 23:01:18.354758 juicefs[34223] : Data use minio://127.0.0.1:9000/pics/pics/ 2021/04/29 23:01:18.361674 juicefs[34223] : Volume is formatted as {Name:pics UUID:9c0fab76-efd0-43fd-a81e-ae0916e2fc90 Storage:minio Bucket:http://127.0.0.1:9000/pics AccessKey:minioadmin SecretKey:removed BlockSize:4096 Compression:none Partitions:0 EncryptKey:} ``` @@ -116,7 +116,7 @@ After executing the command, you will see output similar to the following, indic ```shell 2021/04/29 23:22:25.838419 juicefs[37999] : Meta address: redis://127.0.0.1:6379/1 2021/04/29 23:22:25.839184 juicefs[37999] : Ping redis: 67.625µs -2021/04/29 23:22:25.839399 juicefs[37999] : Data use 127.0.0.1:9000/pics/ +2021/04/29 23:22:25.839399 juicefs[37999] : Data use minio://127.0.0.1:9000/pics/pics/ 2021/04/29 23:22:25.839554 juicefs[37999] : Cache: /var/jfsCache/9c0fab76-efd0-43fd-a81e-ae0916e2fc90 capacity: 1024 MB 2021/04/29 23:22:26.340509 juicefs[37999] : OK, pics is ready at /mnt/jfs ``` diff --git a/docs/zh_cn/quick_start_guide.md b/docs/zh_cn/quick_start_guide.md index 67b19808..a4c5ff64 100644 --- a/docs/zh_cn/quick_start_guide.md +++ b/docs/zh_cn/quick_start_guide.md @@ -93,7 +93,7 @@ $ juicefs format \ ```shell 2021/04/29 23:01:18.352256 juicefs[34223] : Meta address: redis://127.0.0.1:6379/1 2021/04/29 23:01:18.354252 juicefs[34223] : Ping redis: 132.185µs -2021/04/29 23:01:18.354758 juicefs[34223] : Data uses 127.0.0.1:9000/pics/ +2021/04/29 23:01:18.354758 juicefs[34223] : Data use minio://127.0.0.1:9000/pics/pics/ 2021/04/29 23:01:18.361674 juicefs[34223] : Volume is formatted as {Name:pics UUID:9c0fab76-efd0-43fd-a81e-ae0916e2fc90 Storage:minio Bucket:http://127.0.0.1:9000/pics AccessKey:minioadmin SecretKey:removed BlockSize:4096 Compression:none Partitions:0 EncryptKey:} ``` @@ -118,7 +118,7 @@ $ sudo juicefs mount -d redis://127.0.0.1:6379/1 /mnt/jfs ```shell 2021/04/29 23:22:25.838419 juicefs[37999] : Meta address: redis://127.0.0.1:6379/1 2021/04/29 23:22:25.839184 juicefs[37999] : Ping redis: 67.625µs -2021/04/29 23:22:25.839399 juicefs[37999] : Data use 127.0.0.1:9000/pics/ +2021/04/29 23:22:25.839399 juicefs[37999] : Data use minio://127.0.0.1:9000/pics/pics/ 2021/04/29 23:22:25.839554 juicefs[37999] : Cache: /var/jfsCache/9c0fab76-efd0-43fd-a81e-ae0916e2fc90 capacity: 1024 MB 2021/04/29 23:22:26.340509 juicefs[37999] : OK, pics is ready at /mnt/jfs ``` -- GitLab