Skip to content
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

Better error messages when Fuse fails to mount #341

Closed
cleichner opened this issue Nov 15, 2014 · 4 comments
Closed

Better error messages when Fuse fails to mount #341

cleichner opened this issue Nov 15, 2014 · 4 comments
Labels
topic/cleanup Topic cleanup topic/commands Topic commands topic/fuse Topic fuse

Comments

@cleichner
Copy link
Contributor

Right now it says "File not found"

It should say "please create a mount point for IPFS" (or something along those lines)

@chriscool
Copy link
Contributor

Using ipfs1, I get the following when I remove /ipfs and /ipns:

$ ipfs mount
mounting ipfs at /ipfs
mounting ipns at /ipns
ipfs mount: fusermount: "fusermount: failed to access mountpoint /ipfs: No such file or directory\n", exit status 1

Is this what you are talking about?

By the way, using ipfs2 I get:

$ ipfs mount   
20:35:29.733 ERROR      mount: %s mount: %s/ipfsfusermount: "fusermount: failed to access mountpoint /ipfs: No such file or directory\n", exit status 1 mount.go:89
20:35:29.734 ERROR      mount: %s mount: %s/ipnsfusermount: "fusermount: failed to access mountpoint /ipns: No such file or directory\n", exit status 1 mount.go:89
IPFS mounted at: /ipfs
IPNS mounted at: /ipns

"IPFS mounted at: /ipfs" and "IPNS mounted at: /ipns" should probably not be there.

@jbenet
Copy link
Member

jbenet commented Nov 17, 2014

Yes, I think this is the message @cleichner reported, though on mac, OSX fuse says "File not found"

@chriscool
Copy link
Contributor

Also when using ipfs2, when the mount fails the exit code is still 0.

@jbenet jbenet added this to the clean errors milestone Jan 15, 2015
@jbenet jbenet added topic/commands Topic commands topic/fuse Topic fuse topic/cleanup Topic cleanup labels Mar 28, 2015
@jbenet jbenet removed this from the clean errors milestone Mar 29, 2015
@daviddias
Copy link
Member

Closing this issue for now, the error messages have improved a lot since this issue was open, let us know if it still needs work.

ariescodescream pushed a commit to ariescodescream/go-ipfs that referenced this issue Oct 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic/cleanup Topic cleanup topic/commands Topic commands topic/fuse Topic fuse
Projects
None yet
Development

No branches or pull requests

4 participants