Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,741,305 Members 44,665 Now Online
XDA Developers Android and Mobile Development Forum

Mount samba share

Tip us?
 
adionita
Old
#11  
Member - OP
Thanks Meter 0
Posts: 31
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 44
Posts: 200
Join Date: May 2008
Quote:
Originally Posted by hmagoo View Post
Code:
Select 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 2
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


XDA PORTAL POSTS

Mod Lets You Have Stereo Speakers on Your Sony Xperia Z1 (Sort Of)

The stereo speakers onthe Sony Xperia Z2areprobably a relatively large … more

Give Your Screen Some Color with HexaTime Live Wallpaper

We don’t often cover very many live wallpapers here on the XDA Portal. You may … more

Android Wear App Review: Command Google Now with Commandr – XDA Developer TV

OK Google. Make Me a sandwich. How many times have you … more

Play Your Hits and Learn the Lyrics with NextGen Music Player

There are plenty of music players for Android available in Play Store. They … more