-
Notifications
You must be signed in to change notification settings - Fork 214
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
NFS Client for Windows (non-Enterprise) #135
Comments
No, libnfs can not be used for that today. While it does compile natively on windows, it is not an IFS driver, not is I.e. it is what allows for example Kodi on Windows(and other platforms) to In theory, it should be possible to build a Windows IFS driver that I don't know much details about IFS development myself but if you find For example, there is a FUSE module for linux and other platforms that have On Wed, Jan 20, 2016 at 9:23 PM, Bernd Niehues [email protected]
|
I have the same Problem. I know that there is an active fork of dokan which has a fuse wrapper: I thought i could try to build fuse-nfs with the dokan fuse wrapper, but I need to build libnfs first, and I failed to build it on windows so far. What is the last commit of libnfs I can build on windows? Do I need a specific version of Visual Studio or a specific SDK version? |
I just tried it, and it kinda works. I used the master branch of dokany and visual studio 2015 to compile fuse_nfs. I used visual studio 2010 to compile libnfs branch 1.3. I had to make a few changes to fuse_nfs to use it together with that libnfs branch. Also, I had to make some changes to libnfs to get it compiling, and I think I broke something in the process. I am now able to mount the nfs as a drive letter using these tools. The drive capacity is shown correctly. All directories & files are shown, but appear as empty files, and I can't create files, but I think that is because of one of my changes. I conclude that it is possible to get libnfs, fuse-nfs and dokany working together under windows 10, but its a lot of work. |
Awesome. But libnfs 1.3 is very old. I think it was about that time there were Please try to build a more recent version, such as 1.9.8 or current HEAD. I don't think anyone has tried building fuse-nfs for windows, so you are Awesome stuff, Best regards On Sun, Sep 18, 2016 at 12:55 PM, Daniel Abrecht [email protected]
|
I have pushed some changes that fixes the build of libnfs.dll The example programs do not yet build under visual studio but libnfs.dll On Mon, Sep 19, 2016 at 8:28 AM, ronnie sahlberg [email protected]
|
The library builds a dll from current master using visual studio online, One failure that is common to all of them are that they can not find Link: I am totally ignorant on how to build on win32, but if someone can find out On Tue, Sep 20, 2016 at 5:47 PM, ronnie sahlberg [email protected]
|
I'll take a look on it next weekend, I have too much else to do right now. |
Any news on this? |
It isn't really a difficult task, but I have a lot more work to do lately than I expected and don't have the time to work on this at the moment. Sorry. |
I had some spare time the last 2 days, and I tried to cross-compile fuse-nfs on my devuan server with x86_64-w64-mingw32-gcc and i686-w64-mingw32-gcc. I was able to compile it after a few changes, i'll make a pull request for those. The build scripts I used are available at: https://github.com/Daniel-Abrecht/fuse-nfs-crossbuild-scripts . However, it doesn't really work yet. I can mount the nfs share in Windows 7, but when I try to access it it crashes. I'll debug it as soon as I have time to do so. |
Awesome!
…On Sun, Feb 26, 2017 at 11:33 AM, Daniel Abrecht ***@***.***> wrote:
I had some spare time the last 2 days, and I tried to cross-compile
fuse-nfs on my devuan server with x86_64-w64-mingw32-gcc and
i686-w64-mingw32-gcc. I was able to compile it after a few changes, i'll
make a pull request for those. The build scripts I used are available at:
https://github.com/Daniel-Abrecht/fuse-nfs-crossbuild-scripts . However,
it doesn't really work yet. I can mount the nfs share in Windows 7, but
when I try to access it it crashes. I'll debug it as soon as I have time to
do so.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#135 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAeNkPZM6XBfcxM4vy-Zc6keKr4PX2GPks5rgdOagaJpZM4HJOL_>
.
|
I figured out why fuse-nfs crashed and fixed it. At the moment, it doesn't work yet with nfs exports on case-sensitive file systems, but it works flawlessly with case-insensitive file systems. This seams to be an issue in dokan_fuse, which sometimes converts all letters in paths to uppercase letters. When I get that fixed, everything should work. |
That is really awesome.
Great work!
Are you planning to host binaries/installers for this once it is finished?
If so I would like to link to your repo from my README file.
I think a lot of people will find your work really useful.
regards
ronnie sahlberg
…On Tue, Feb 28, 2017 at 7:01 AM, Daniel Abrecht ***@***.***> wrote:
I figured out why fuse-nfs crashed and fixed it. At the moment, it doesn't
work yet with nfs exports on case-sensitive file systems, but it works
flawlessly with case-insensitive file systems. This seams to be an issue in
dokan_fuse, which sometimes converts all letters in paths to uppercase
letters. When I get that fixed, everything should work.
https://dpa.li/fuse-nfs/video.mp4
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#135 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAeNkCRnof4cL7PzWJlnReVxCerTMbm-ks5rhDavgaJpZM4HJOL_>
.
|
Yes, I think I'll try the GitHub release API, maybe I can automate the whole build & release process. I just noticed the problem with case-sensitive file systems only happens with directory mounts, but when mounting a drive letter case-sensitive file systems work fine too. It seams to be the same issue as in dokan-dev/dokany#293 |
I have now written a build script which builds fuse-nfs for Windows 32&64bit and uploads those builds as release to my github repo. The build scripts and more details are available here: https://github.com/Daniel-Abrecht/fuse-nfs-crossbuild-scripts |
Very nice.
Is it ok with you if I add a link to your repos as well as to the builds
from my fuse-nfs/README ?
…On Tue, Mar 7, 2017 at 2:28 PM, Daniel Abrecht ***@***.***> wrote:
I have now written a build script which builds fuse-nfs for Windows
32&64bit and uploads those builds as release to my github repo. The build
scripts and more details are available here: https://github.com/Daniel-
Abrecht/fuse-nfs-crossbuild-scripts
And the releases: https://github.com/Daniel-Abrecht/fuse-nfs-crossbuild-
scripts/releases
The releases are updated every hour.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#135 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAeNkETI5-N2ellxESQu--0RqM215hCuks5rjdofgaJpZM4HJOL_>
.
|
Sure, that would be great. |
Hi! This might be a stupid question:
Might this library be used to mount an NFS Share to an drive letter in Windows 10 e.g.?
As only Enterprise Version of Windows 8+ deliver an NFS Client i'm looking for an open source alternative. This might be intresting to Windows 10 Enterprise as well because the integrated NFS Client is limited to only one set of GID/UID.
I would expect this to compile to an mount.exe or such to be used like the linux mount binary.
If this would be possible a Wiki entry with build instructions (HowTo) would be really great!
May be a prebuild client (hosted at your repository) would integrate greatly with scoop.sh:
https://github.com/lukesampson/scoop
The text was updated successfully, but these errors were encountered: