| Version 4 (modified by , 8 months ago) ( diff ) | 
|---|
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
  Note:
 See   TracWiki
 for help on using the wiki.
    ![(please configure the [header_logo] section in trac.ini)](/chrome/site/cardinal.gif)