Revert "Fail nicelly on OSXFUSE 3.0.0+"

This reverts commit 53a35a8f.
parent 6680060b
......@@ -31,7 +31,7 @@ var fuseVersionPkg = "github.com/jbenet/go-fuse-version/fuse-version"
var errStrFuseRequired = `OSXFUSE not found.
OSXFUSE is required to mount, please install it.
NOTE: Version in between 2.7.2 and 3.0.0 is required; prior versions are known to kernel panic!
NOTE: Version 2.7.2 or higher required; prior versions are known to kernel panic!
It is recommended you install it from the OSXFUSE website:
http://osxfuse.github.io/
......@@ -56,8 +56,6 @@ It is recommended you install it from the OSXFUSE website:
For more help, see:
https://github.com/ipfs/go-ipfs/issues/177
OSXFUSE versions >3.0.0 are not compatible with version of FUSE library in current use.
`
var errStrNeedFuseVersion = `unable to check fuse version.
......@@ -144,7 +142,6 @@ func darwinFuseCheckVersion(node *core.IpfsNode) error {
log.Debug("mount: osxfuse version:", ov)
min := semver.MustParse("2.7.2")
max := semver.MustParse("3.0.0")
curr, err := semver.Make(ov)
if err != nil {
return err
......@@ -153,10 +150,6 @@ func darwinFuseCheckVersion(node *core.IpfsNode) error {
if curr.LT(min) {
return fmt.Errorf(errStrUpgradeFuse, ov)
}
// TODO: Upgrade fuse lib and work nice with 3.0.0+
if curr.GE(max) {
return fmt.Errorf(errStrUpgradeFuse, ov)
}
return nil
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment