FORUMS

Voices Of XDA: Orbiting The Earth With Android

Editor’s note: This week’s feature has been written by forum … more

CloudPlayer: DIY HiFi Music Streaming Solution

In our Helpful Guide to Music Streaming Services, we mentioned several different services … more

Optimize Battery Life with This Useful App

Battery life is an important aspect of your smartphone, especially if you use it for more … more

The OnePlus 2 & The Year of Smartphone Compromises

We are very close to entering the last third of 2015, and we have now seen many of … more

Mount samba share

37 posts
Thanks Meter: 2
 
By adionita, Member on 9th July 2014, 11:38 AM
Post Reply Subscribe to Thread Email Thread
20th July 2014, 04:28 PM |#11  
OP Member
Thanks Meter: 2
 
More
I have to apply the script after every reboot also. Has anyone found a way to keep it after boot?
 
 
20th July 2014, 05:20 PM |#12  
Senior Member
Thanks Meter: 122
 
More
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, 09:56 PM |#13  
Junior Member
Thanks Meter: 3
 
More
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
9th November 2014, 11:15 PM |#14  
Member
Thanks Meter: 2
 
More
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