-
Notifications
You must be signed in to change notification settings - Fork 997
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mount: ignore command when mount point is already mounted by the same juicefs #2979
Conversation
… juicefs Signed-off-by: xixi <[email protected]>
cmd/mount_unix.go
Outdated
@@ -140,6 +140,11 @@ func mount_flags() []cli.Flag { | |||
Name: "enable-ioctl", | |||
Usage: "enable ioctl (support GETFLAGS/SETFLAGS only)", | |||
}, | |||
&cli.BoolFlag{ | |||
Name: "f", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
f
was used as --foreground
, so don't use it as --force
, remove it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed
Signed-off-by: xixi <[email protected]>
Codecov ReportBase: 58.90% // Head: 58.90% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #2979 +/- ##
==========================================
- Coverage 58.90% 58.90% -0.01%
==========================================
Files 141 141
Lines 24565 24594 +29
==========================================
+ Hits 14471 14488 +17
- Misses 8218 8229 +11
- Partials 1876 1877 +1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Signed-off-by: xixi <[email protected]>
Signed-off-by: xixi [email protected]
Close #2840
mount
when the mount point is already mounted by the same juicefsforce
flag for themount
subcommand to mount the same mount point forcibly