Welcome, Guest. Please login or register.

Author Topic: OS4.1FE and Samba  (Read 1421 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline pVC

Re: OS4.1FE and Samba
« on: January 20, 2018, 11:26:11 AM »
And remember that if you're just using SMBFS to mount remote shares, it's just waste of time and resources to install the whole bloated Samba package to your machine. Just use the SMBFS command alone.

Quote from: cehofer;835162
To unmount the shares from Workbench, go to CLI and type "status" and find the number of your share.   Then you can use the command "break" followed by the number of your share.

And if you want to automate this for scripts or menu items or such, you can do like this:
Code: [Select]
Status COM "smbfs '//CHARTECH4T/Public'" > T:smbfs_pid
Break ? < T:smbfs_pid >NIL:


Or more cleverly, combine the two commands into one line:
Code: [Select]
Break `Status COM "smbfs '//CHARTECH4T/Public'"`
Daily MorphOS user and Amiga active.