The steps that linuxmce takes to add widows shares to the system goes like this:
- Scans the network to find active samba (windows shares) servers and prompts the use about the detected ones
- If the user choses to use that add that computer as a 'file server' that a device is created (device template 1837) in the database for that computer
- After the 'File Server' device is added it automatically runs the configuration script for that device: "/usr/pluto/bin/Configure_1837.sh -d <DEVICE ID>" where <DEVICE ID> is the device id of the newly created 'file server' device. You can look for in the web admin interface to see which device id coresopnds to it.
- The configuration script for device template 1837 (File Server) is searching for active shares on that computer and prompts the user to see if he wants to access those shares from LinuxMCE.
- For each share that the user chose to use, a new device is created (Window Share / device template 1768)
Now since the configuration script for device 'File Server' is executed only once, when the device was added, you will need to manually run it once again to detect shares created on the computer after that moment. The correct method would be to use the 'Reconfigure device' checkbox from web admin and do a reload router, but you can also run the configuration file by hand from a console passing the correct device id.
Using fstab to mount is not the proper way to do it since you will lose all the advantages of a pluto device:
- automount so you don't need to manually mount and remount it every time the file server restarts
- get the share available on the core and every media director that you have in the sytem, not on only one location
- integration with the linuxmce media directory structure
- ...