Changeset 56675 in vbox for trunk/src/VBox/Additions/linux
- Timestamp:
- Jun 29, 2015 3:37:43 PM (9 years ago)
- Location:
- trunk/src/VBox/Additions/linux/sharedfolders
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/sharedfolders/mount.vboxsf.c
r44528 r56675 288 288 } 289 289 290 if (!handler->name) 290 if ( !handler->name 291 && !opts->sloppy) 291 292 { 292 293 fprintf(stderr, "unknown mount option `%.*s'\n", (int)len, s); … … 346 347 " -r mount the shared folder read-only\n" 347 348 " -n do not create an mtab entry\n" 349 " -s sloppy parsing, ignore unrecognized mount options\n" 348 350 " -o OPTION[,OPTION...] use the mount options specified\n" 349 351 "\n", name); … … 388 390 0, /* fmask */ 389 391 0, /* ronly */ 392 0, /* sloppy */ 390 393 0, /* noexec */ 391 394 0, /* nodev */ … … 412 415 CT_ASSERT(sizeof(gid_t) == sizeof(int)); 413 416 414 while ((c = getopt(argc, argv, "rw no:h")) != -1)417 while ((c = getopt(argc, argv, "rwsno:h")) != -1) 415 418 { 416 419 switch (c) … … 428 431 case 'w': 429 432 opts.ronly = 0; 433 434 case 's': 435 opts.sloppy = 1; 436 break; 430 437 431 438 case 'o': -
trunk/src/VBox/Additions/linux/sharedfolders/vbsfmount.h
r31202 r56675 63 63 int fmask; 64 64 int ronly; 65 int sloppy; 65 66 int noexec; 66 67 int nodev;
Note:
See TracChangeset
for help on using the changeset viewer.