Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,810,757 Members 36,714 Now Online
XDA Developers Android and Mobile Development Forum

Mount samba share

Tip us?
 
adionita
Old
#11  
Member - OP
Thanks Meter 1
Posts: 36
Join Date: Jun 2009
I have to apply the script after every reboot also. Has anyone found a way to keep it after boot?
 
mejdam
Old
#12  
Senior Member
Thanks Meter 58
Posts: 258
Join Date: May 2008
Quote:
Originally Posted by hmagoo View Post
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?
 
lsdlsdlsdlsd
Old
#13  
Junior Member
Thanks Meter 3
Posts: 23
Join Date: Dec 2007
Quote:
Originally Posted by mejdam View Post
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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Old but Gold Internet Browser is a Blast from the Past

A Web browser is one of these applications that we can’t live without. We useit … more

Real-World Battery Saving Tips for Android – XDA Developer TV

You need Real-World Battery Saving Tips for your Android device. Our … more

Android L Will Have Data Encryption Turned On by Default

Android L, once it is eventually released, will featuredata encryption turned on by … more

Lock Apps and Functions Easily with Droid Protector

Access and security are some of the key issues facingmobile technology. Whether … more