需求:在虚拟机下想要直接访问公司服务器硬盘。 如果没有安装cifs 包就先安装 sudo apt-get install cifs* 挂载网络路径到指定路径 sudo mount -t cifs //192.168.1.12/xxx share/ -o username=xxx,password=xxx 创建软链接指向挂载路径 ln -s share/ newpath