linux mount windows 分享
linux 當主機也用了好幾年了,在 samba 部份一直是 windows 使用 linux 的分享,還沒用過 windwos分享,今天在找nat資料時,看到了一篇使用windows的分享,就試了一下,測試如下:
若 10.0.0.1 分享 driver 而 username = user password空白 要 mount 到 linux 的 /mnt/win 下,只要下
mount -t cifs -o user=user -o password="" \\\\10.0.0.1\\driver /mnt/win
就可以了,在 fedora 6 之前檔案格式用 smbfs ,之後(含)用 cifs
使用結果,如果是中文分享不行,中文檔名亂碼,再研究
迴響
我只是愛你的有趣博客
我想說,你真的幫助我理解的主題 linux mount windows ?? | ??
linux 對 linux
mount -t cifs -o username="Username",password="Password" //IP/share /mnt/smb
可以將 password 取消,的連線再 Key
centos 7 要安裝 cifs-utils 才可以
centos 7 要安裝 cifs-utils 才可以
ms7 連 nas 需加 vers=1.0 或 2.0
mount -t cifs -o username="user",password="passwd",vers=2.0 //nas.fhsh.tp.edu.tw/backup /mnt
必需加入 vers 版本才可以,以前不用