Mount Manager, Cifs manager :Manage your CIFS/NFS network shares

was working, but the command from the terminal was not.

For me anyway, it turned out that I just had to modify the command slightly and it worked.

Try the following command:

mount -o username=guest,password=guest -t cifs //[ipaddress]/[share] /sdcard/cifs/nas

Make sure that the local folder /sdcard/cifs/nas (or your desired equivalent) exists

before running the command or you might get a "file or directory doesn't exist" error.

This document provides help on mounting SMB/CIFS shares under Linux.

All files accessible in a Linux and UNIX systems are arranged in one big tree, the file hierarchy, rooted at /.

These files can be spread out over several devices.

The mount command serves to attach the file system found on some device to the big file tree.

Use the mount command to mount remote SMB/CIFS shares under Linux as follows:

mount -t cifs //192.168.1.1/mySharedFolder -o username=myUser,password=myPassword /mnt/mySharedFolder

Where,
-t cifs: File system type to be mount
-o: are options passed to mount command, in this example I had passed two options.
First argument is the user name (myUser) and second argument is the password (myPassword)
to connect to the remote computer.
//192.168.1.1/mySharedFolder: remote computer and share name
/mnt/mySharedFolder: local mount point directory

Make sure to create/mnt/mySharedFolderfirst.

to connect to the remote computer.

mount.cifs(8) - Linux man page

更多相关文章

  1. 代码中设置drawableleft
  2. android 3.0 隐藏 系统标题栏
  3. Android开发中activity切换动画的实现
  4. Android(安卓)学习 笔记_05. 文件下载
  5. Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
  6. 技术博客汇总
  7. android 2.3 wifi (一)
  8. AndRoid Notification的清空和修改
  9. Android中的Chronometer

随机推荐

  1. Android序列化Parcelable
  2. 详解 Android(安卓)的 Activity 组件
  3. ApacheCN 网络安全译文集 20211025 更新
  4. View动画
  5. Android闪光灯的打开与关闭
  6. library project 和android项目
  7. Android: 你必须掌握的Android命令
  8. android menu菜单的复选框
  9. Android数据缓存
  10. Android(安卓)文件系统与Android11 分区