Solaris 下 mount Windows 共享目录
试图mount共享文件夹dir1到/mnt
1, 执行下面命令
#mount servername:dir1 /mnt
提示没有权限,命令失败
2, 执行下面命令
#mount -o username=administrator password=password servername:dir1 /mnt
有如下提示,不过没关系,继续往下走第3步
Usage:
mount [-v | -p]
mount [-F FSType] [-V] [current_options] [-o specific_options]
{special | mount_point}
mount [-F FSType] [-V] [current_options] [-o specific_options]
special mount_point
mount -a [-F FSType ] [-V] [current_options] [-o specific_options]
[mount_point ...]
3, 执行下面命令
#mount servername:dir1 /mnt
mount成功