Skip to content
This repository was archived by the owner on Aug 15, 2022. It is now read-only.

klient/mount: log more detailed fuse information when creating a mount#11393

Merged
rjeczalik merged 2 commits intomasterfrom
fuse-log
Aug 9, 2017
Merged

klient/mount: log more detailed fuse information when creating a mount#11393
rjeczalik merged 2 commits intomasterfrom
fuse-log

Conversation

@ppknap
Copy link
Contributor

@ppknap ppknap commented Aug 8, 2017

This PR adds some additional logging when creating a fuse mount. This is done since there is no other way to check what arguments are passed to underlying fuse utils by jacobsa/fuse package.

@ppknap ppknap self-assigned this Aug 8, 2017
@ppknap ppknap requested a review from rjeczalik August 8, 2017 15:55
func getFuserMountVer() string {
const fm = "fusermount"

if runtime.GOOS == "linux" {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if runtime.GOOS != "darwin" {

Copy link
Contributor Author

@ppknap ppknap Aug 8, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤕 It should have been runtime.GOOS != "linux" this func is only meant to fusermount on linux

@rjeczalik
Copy link
Member

@ppknap Could you please rebase?

chmod: cannot access 'scripts/test-instance/koding-test-instances-2015-06.pem': No such file or directory

/cc @szkl

@ppknap
Copy link
Contributor Author

ppknap commented Aug 9, 2017

@rjeczalik Current branch fuse-log is up to date.

@rjeczalik rjeczalik merged commit b44eef5 into master Aug 9, 2017
@rjeczalik rjeczalik deleted the fuse-log branch August 9, 2017 21:00
@rjeczalik
Copy link
Member

Merging for now, @szkl could we take a look later what's wrong with the missing file?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants