Changeset 31216 in vbox for trunk/src/VBox/Additions/common/VBoxService
- Timestamp:
- Jul 29, 2010 2:53:27 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 64223
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceAutoMount.cpp
r31211 r31216 260 260 261 261 char *pszMountPoint = NULL; 262 #ifdef RT_OS_SOLARIS 263 if ( RTStrAPrintf(&pszMountPoint, "/mnt/sf_%s", pszShareName) > 0 264 #else 262 265 if ( RTStrAPrintf(&pszMountPoint, "/media/sf_%s", pszShareName) > 0 266 #endif 263 267 && pszMountPoint) 264 268 { 265 269 /* We always use "/media" as our root mounting directory. */ 266 /** @todo Detect the correct "media " directory, based on the current guest (?). */267 RTFMODE fMode = 07 77;270 /** @todo Detect the correct "media/mnt" directory, based on the current guest (?). */ 271 RTFMODE fMode = 0700; 268 272 rc = RTDirCreateFullPath(pszMountPoint, fMode); 269 273 if (RT_SUCCESS(rc))
Note:
See TracChangeset
for help on using the changeset viewer.