Changeset 37832 in vbox
- Timestamp:
- Jul 8, 2011 10:13:18 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceAutoMount.cpp
r37826 r37832 261 261 { 262 262 #ifdef RT_OS_SOLARIS 263 int flags = 0; /* No flags used yet. */ 263 char achOptBuf[MAX_MNTOPT_STR] = { '\0', }; 264 int flags = 0; 265 if (pOpts->ronly) 266 flags |= MS_RDONLY; 267 RTStrPrintf(achOptBuf, sizeof(achOptBuf), "uid=%d,gid=%d", pOpts->uid, pOpts->gid); 264 268 int r = mount(pszShareName, 265 269 pszMountPoint, 266 flags ,270 flags | MS_OPTIONSTR, 267 271 "vboxfs", 268 272 NULL, /* char *dataptr */ 269 273 0, /* int datalen */ 270 NULL, /* char *optptr */271 0); /* int optlen */274 achOptBuf, 275 sizeof(achOptBuf)); 272 276 if (r == 0) 273 277 {
Note:
See TracChangeset
for help on using the changeset viewer.