2012-06-01 92 views
4

我试图使用mount命令从计算机上的目录挂载到我的Windows机器上。使用Cygwin'mount'

Cygwin中,我已经试过几个变化:

mount machineName:/remote/location/blah /local/location 
mount -t nfs machineName:/remote/location/blah /local/location 
mount nfs machineName:/remote/location/blah /local/location 
mount machineNAme:/remote/location/blah 

,我已经与参数试了一下调换了,等等等等....我不是得到这个消息:mount: can't find brotula in /etc/fstab or in /etc/fstab.d/$USERinvalid arguments。我知道我有正确的路径,因为我使用scp就好了。

我在做什么错?谢谢!

回答

5

您是否按照man mount中的示例尝试$ mount //machinename/remote/location/blah /local/location

+0

谢谢你的帮助! – Ken

+0

mount命令成功,但是当我尝试使用CD时,它说“不是目录”。我使用Windows XP并安装了Unix工具。任何想法为什么?它在mount输出中表示'/192.168.1.2/media/sarnobat/Unsorted on/home/admin/u type unknown(binary,user)'。 –

+0

@ Sridhar-Sarnobat你在问一个跟进问题,所以你应该开一个新的问题,因为这个问题已经被回答了。 – AlG