Difference between revisions of "Shell Commands/SmbFS"

From MorphOS Library

< Shell Commands

(Created page with "'''SmbFS''' - Mounts a samba share DOMAIN=WORKGROUP/K,USER=USERNAME/K,PASSWORD/K,CHANGECASE/S,CASE=CASESENSITIVE/S,OMITHIDDEN/S,QUIET/S,ASKPASSWORD=AP/S,CLIENT=CLIENTNAME/K,S...")
 
Line 4: Line 4:
  
 
''Note: If the service-name can not be found it will usually help to add the name to hosts (Found in System preferences) - just add the service name and IP-adress.''
 
''Note: If the service-name can not be found it will usually help to add the name to hosts (Found in System preferences) - just add the service name and IP-adress.''
 +
 +
A more detailed documentation can be found on the SYS:MorphOS/Locale/Help/english/SmbFS.txt file.
 +
  
 
Example:
 
Example:
  SmbFS WORKGROUP=example VOLUME=Net: DEVICE=Net: USER=morphosuser PASSWORD=example SERVICE=//sambashare/mosfiles
+
  SmbFS WORKGROUP=example VOLUME=Net: USER=morphosuser PASSWORD=example SERVICE=//sambashare/mosfiles
 +
 
 +
 
 +
Tips for quitting the command:
 +
 
 +
* If you have used the default device name for a samba share, you can unmount the share with the Eject screenbar module.
 +
* If you've started the command as a background process, you can also unmount it by finding out the process number with the Status command and giving that number to the Break command.
 +
* If you want to do the previous operation automatically for example in a script, you can use the following command (including all the apostrophes and alikes): ''Break `Status COM "SmbFS '//sambashare/mosfiles'"`''
 +
* Any program which can send a CTRL-C signal to the program can quit it, for example the TaskManager program.

Revision as of 21:10, 10 December 2015

SmbFS - Mounts a samba share

DOMAIN=WORKGROUP/K,USER=USERNAME/K,PASSWORD/K,CHANGECASE/S,CASE=CASESENSITIVE/S,OMITHIDDEN/S,QUIET/S,ASKPASSWORD=AP/S,CLIENT=CLIENTNAME/K,SERVER=SERVERNAME/K,DEVICE=DEVICENAME/K,VOLUME=VOLUMENAME/K,CACHE=CACHESIZE/N/K,DEBUGLEVEL=DEBUG/N/K,TZ=TIMEZONEOFFSET/N/K,TRANSLATE=TRANSLATIONFILE/K,NETBIOSNAMESERVICEPORT/N/K,PORT=NETBIOSSESSIONPORT/N/K,SERVICE/A

Note: If the service-name can not be found it will usually help to add the name to hosts (Found in System preferences) - just add the service name and IP-adress.

A more detailed documentation can be found on the SYS:MorphOS/Locale/Help/english/SmbFS.txt file.


Example:

SmbFS WORKGROUP=example VOLUME=Net: USER=morphosuser PASSWORD=example SERVICE=//sambashare/mosfiles


Tips for quitting the command:

  • If you have used the default device name for a samba share, you can unmount the share with the Eject screenbar module.
  • If you've started the command as a background process, you can also unmount it by finding out the process number with the Status command and giving that number to the Break command.
  • If you want to do the previous operation automatically for example in a script, you can use the following command (including all the apostrophes and alikes): Break `Status COM "SmbFS '//sambashare/mosfiles'"`
  • Any program which can send a CTRL-C signal to the program can quit it, for example the TaskManager program.