= MountDirectory ** 825gen2 ** = Mount to a share {{{ bool MountDirectory(const char* dev, const char* mountPath, const char* options, const char* type = NULL); bool MountDirectory(string& strDev, string& strMountPath, string& strOptions, const char* type = NULL); bool MountDirectory(string& strDev, string& strMountPath, const char* options, const char* type = NULL); bool MountDirectory(const char* dev, string& strMountPath, const char* options, const char* type = NULL); }}} == Parameters == * path - == Return Value == * Returns true if successful == Remarks == == Examples == {{{ if(MountDirectory("/dev/sda1", "/run/media/sda1", "umask=0007,gid=6") == true) { printf("Mounted successfully"); } }}} == See Also == * [wiki:UnmountDirectory UnmountDirectory]