Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Linux 使用cygwin在windows上装载nfs分区的正确方法_Linux_Windows_Cygwin_Mount_Nfs - Fatal编程技术网

Linux 使用cygwin在windows上装载nfs分区的正确方法

Linux 使用cygwin在windows上装载nfs分区的正确方法,linux,windows,cygwin,mount,nfs,Linux,Windows,Cygwin,Mount,Nfs,我正在尝试将nfs分区装载到运行cygwin的Windows server 2012上。我浏览了很多链接,例如,但是没有一个有帮助。我想通过nfs 10.x.x.x/foo挂载到Windows上的一个分区中,在c:/bar或to/tmp/bar中 在cygwin上,我使用了以下命令: mount //10.x.x.x/foo /tmp/bar mount命令执行完毕,mount的输出为: $ mount //10.x.x.x/foo on /tmp/bar type unknown (bin

我正在尝试将nfs分区装载到运行cygwin的Windows server 2012上。我浏览了很多链接,例如,但是没有一个有帮助。我想通过nfs 10.x.x.x/foo挂载到Windows上的一个分区中,在c:/bar或to/tmp/bar中

在cygwin上,我使用了以下命令:

mount //10.x.x.x/foo /tmp/bar
mount命令执行完毕,mount的输出为:

$ mount 
//10.x.x.x/foo on /tmp/bar type unknown (binary,user) 
C:/cygwin/bin on /usr/bin type ntfs (binary,auto) 
C:/cygwin/lib on /usr/lib type ntfs (binary,auto) 
C:/cygwin on / type ntfs (binary,auto) 
C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto)
但是,当我尝试将cd或ls放入目录时,我没有看到任何内容

ls /tmp/bar 
ls: cannot access /tmp/bar: No such file or directory

$ ls -la /tmp/
ls: cannot access /tmp/vdnet: No such file or directory
total 4
drwxrwxrwt+ 1 Administrator None 0 Apr  5 10:34 .
drwxr-xr-x+ 1 Administrator None 0 Jul  9  2015 ..
d?????????? ? ?             ?    ?            ? bar
使用cygwin装载nfs分区的正确方法是什么