-
Notifications
You must be signed in to change notification settings - Fork 395
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
[#6320] feat (gvfs-fuse): Support mount and umount command for gvfs-fuse command line tools #6321
base: main
Are you sure you want to change the base?
Conversation
config: Option<String>, | ||
|
||
#[arg(short, long, help = "Debug level", default_value_t = 0)] | ||
debug: u8, |
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.
Looks like this is an overdesign?
Are we really using this argument?
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.
Yes, we will need to use this argument in PR #5905.
Co-authored-by: Qiming Teng <[email protected]>
#[derive(Parser, Debug)] | ||
#[command( | ||
name = "gvfs-fuse", | ||
version = "1.0", |
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.
is this version correct? 1.0
seems a stable version.
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.
fix
_ = handle => {} | ||
_ = signal::ctrl_c() => { | ||
info!("Received Ctrl+C, unmounting gvfs..."); | ||
#[cfg(target_os = "macos")] |
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.
does macos support fileset fuse ?
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.
Linux also supported. see the other do_umount
function
mount_point: String, | ||
|
||
#[arg(help = "The URI of the GVFS fileset")] | ||
location: String, |
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.
The meaning of location
and config
seems not clear
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.
Change location
to fileset_location
Using "config" as a configuration name is very common.
What changes were proposed in this pull request?
Why are the changes needed?
Fix: #6320
Does this PR introduce any user-facing change?
No
How was this patch tested?
IT