VirtualBox

Changeset 75444 in vbox


Ignore:
Timestamp:
Nov 14, 2018 10:25:43 AM (6 years ago)
Author:
vboxsync
Message:

VBoxService,solaris/vboxfs: Need to declare the tag option for it to be visible in the mount table. bugref:3544

Location:
trunk/src/VBox/Additions
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceAutoMount.cpp

    r75437 r75444  
    174174#elif defined(RT_OS_SOLARIS)
    175175/** Dummy mount option that lets us identify mounts that belongs to us. */
    176 static char const       g_szTag[] = ",VBoxService=auto";
     176static char const       g_szTag[] = "VBoxAutomounter";
    177177#endif
    178178
     
    15141514    char szOpts[MAX_MNTOPT_STR] = { '\0', };
    15151515    ssize_t cchOpts = RTStrPrintf2(szOpts, sizeof(szOpts),
    1516                                    "uid=0,gid=%d,dmode=0770,fmode=0770,dmask=0000,fmask=0000%s", gidMount, g_szTag);
     1516                                   "uid=0,gid=%d,dmode=0770,fmode=0770,dmask=0000,fmask=0000,tag=%s", gidMount, g_szTag);
    15171517    if (cchOpts <= 0)
    15181518    {
  • trunk/src/VBox/Additions/solaris/SharedFolders/vboxfs_vfs.c

    r69500 r75444  
    8181        {"fmask",       NULL,           NULL,   MO_HASVALUE,    NULL},
    8282        {"stat_ttl",    NULL,           NULL,   MO_HASVALUE,    NULL},
    83         {"fsync",       NULL,           NULL,   0,              NULL}
     83        {"fsync",       NULL,           NULL,   0,              NULL},
     84        {"tag",         NULL,           NULL,   MO_HASVALUE,    NULL}
    8485};
    8586
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette