I want S: to be mapped to a folder on the server. My desktop is Xandros, ther server is Xandros. In windows, I would right-click MyComputer and click Map Drive. How is it done in Linux?
I haven't used Xandros much. Maybe I'll have to load it on a drive and check it out.
The unc path (universal naming convention) is the network path to the server/share. It looks like this...
//server name or IP address/shared folder
On most Linux distributions, you can mount the share to something like /home/mark/shares.
So to break the command down...
smbmount = samba mounting program
//unc/path/to/server = the network path to the share even for windows shares it would be //windows mahcine name/folder share
/local/mount/point = where you want the share to be locally. Usually /home/mark/shares/windows_share or /mnt/winshare whatever you have the local folder name.
-o = here come the command line options
username = the username and password separated by a percent sign. If this is a windows share you may need to qualify the username to the network domain or computer name. i.e. machine/username.
fmask = what permissions you will have on the share.
644 - rw-r--r--
6 - the owner can read and write to the files in the folder.
4 - anyone in the owner's group can read only.
4 - everyone on the machine can read the files.
dmask = same a fmask, but for directories.
755 - drwxr-x-r-x (d = directory. add the digits in sets of 3 - r=4, w=2, and x=1)
7 - owner can read, write, and execute. execute allows for directory changes.
5 - group can read and execute.
5 - anyone can read and execute.
uid = user id. a number assigned to you when your username is created.
gid - same as uid, but for your group.
ip - ip address of the machine with the shared folder.
debug = I believe this will show any errors.
You may have a program like Lineighborhood to search and mount shares. Or it may be integrated within the Home (Explorer), or whatever it's called.
If I install it, I'll let you know if I can find it.
Mark
SELECT * FROM management WHERE clue > 1
> 0 rows returned
Double click Home.
DC Windows Network.
DC the machine name.
Log in.
Click Mount this share...
Under Shared directories, go through and get to the chare again. Or type \\machine name\share in the top line.
Where it says mount point, use /home/username. It will ask you if you want to create the folder for the mount.
Check the box for Disconnect at logout and reconnect at logon.
Click OK.
The share will be under My Linux, My Home, then the share name. Once you get used to Linux, the drive share by letter thing will be confusing.
Mark
SELECT * FROM management WHERE clue > 1
> 0 rows returned
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.