How can i mount folder from my linux machine as local folder to my android device using terminal emulator on my android device? I am using android 4.4.2 and my android device is rooted.

1 Answer 1


As you're on Kitkat with a rooted device, there's a question (with answers) on SO matching your need: How Can I Mount A Network Folder Into An Android Internal Folder? The exact answer requires your Linux machine providing the resource via Samba:

mount -o username=<user>,password=<pwd>,file_mode=0777,dir_mode=0777 -t cifs //<NAS IP Addr>/<share name> <mount point dir>


mount -o username=guest,password=guest,file_mode=0777,dir_mode=0777 -t cifs // /storage/nas/public

But it would certainly also be possible with other protocols, such as NFS, if your device supports it. If that's too complicated for you, you could use an app named EasySSHFS, which is available from the Google Play Store as well as via my F-Droid repo. That way you'd need neither Samba nor NFS, as an SSH daemon usually comes with your Linux distro by default (if not, you can easily install it from its default repos). EasySSHFS is compatible with Android 4.0 and up.

  • I tried the command but i get: mount: No such device Oct 24, 2018 at 6:47
  • And you're sure you've put the correct resource (IP address, Samba share and credentials – not the ones from the example, but the ones from your environment), and the Samba share referenced does exist and is accessible?
    – Izzy
    Oct 24, 2018 at 15:48
  • Yes, the credentials and the ip are correct. Maybe my android device can't mount cifs file systems. Oct 25, 2018 at 11:01
  • That's a possibility: it might be lacking the required modules. In that case, maybe you give the app a try to mount using SSHFS?
    – Izzy
    Oct 25, 2018 at 11:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .