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
create fuse subcommand to use weed with mount #2085
Conversation
This is really nice. 😍 |
weed/command/fuse.go
Outdated
// switch key keeping "weed mount" parameters | ||
switch parts[0] { | ||
case "filer": | ||
mountOptions.filer = &parts[1] |
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.
filer now supports comma separated list of filers. Any way to make it work in this mode?
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.
Seems not an issue. Double quoting is required for this case. For example:
mount -t tmpfs none /mnt -o \
'context="system_u:object_r:tmp_t:s0:c127,c456",noexec'
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.
It can be a problem. I just split commas without take care of quotes. I going to check 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.
If it works, please send a new PR to add the example to the help message.
I am going to merge this PR for now.
could you please also add a section to https://github.com/chrislusf/seaweedfs/wiki/FUSE-Mount ? |
it was made |
It add fuse subcommand that allow use weed as mount type.
It's related with issues: #1323 #1674