Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Mount samba share

OP adionita

20th July 2014, 05:28 PM   |  #11  
OP Member
Thanks Meter: 1
 
36 posts
Join Date:Joined: Jun 2009
I have to apply the script after every reboot also. Has anyone found a way to keep it after boot?
20th July 2014, 06:20 PM   |  #12  
Senior Member
Thanks Meter: 72
 
320 posts
Join Date:Joined: May 2008
Quote:
Originally Posted by hmagoo

Code:
mount -o noperm,unc=\\\\192.168.0.21\\putsharenamehere,username=putusernamehere,password=putpasswordhere -t cifs none /mnt/obb/nas
the mount command has to look like that, in order for it to be seen by apps I had to mount to /mnt/obb/nas (make the nas directory)
that may not be your solution but it should help, I have seen people say they can set up a mounting app to use those parameters.
FYI, if you are going to try the mount out from the command line you need to be in adb shell, not an ssh session.
you can find answers like this in search as well.

dont want to get too off topic but what if you are using NFS. since that doesnt require a username and password what would the command look like?
21st July 2014, 10:56 PM   |  #13  
Junior Member
Thanks Meter: 3
 
23 posts
Join Date:Joined: Dec 2007
Quote:
Originally Posted by mejdam

dont want to get too off topic but what if you are using NFS. since that doesnt require a username and password what would the command look like?

same sort of thing

mount /mnt/obb/nas 192.168.1.23:/path/to/share
10th November 2014, 12:15 AM   |  #14  
Junior Member
Thanks Meter: 2
 
29 posts
Join Date:Joined: May 2013
Quote:
Originally Posted by adionita

I have to apply the script after every reboot also. Has anyone found a way to keep it after boot?

Sorry to bump this old thread but I'm also in the need of this,
Have you figured out a way of auto remounting the share???
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes