Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
2601ab26
Unverified
Commit
2601ab26
authored
Feb 26, 2017
by
Jakub Sztandera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Fail nicelly on OSXFUSE 3.0.0+"
This reverts commit
53a35a8f
.
parent
6680060b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
fuse/node/mount_darwin.go
fuse/node/mount_darwin.go
+1
-8
No files found.
fuse/node/mount_darwin.go
View file @
2601ab26
...
...
@@ -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
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment