Lines Matching refs:gzMountPoint
824 char gzMountPoint[MAXPATHLEN] = {'\0'};
934 slen = snprintf(gzMountPoint, sizeof (gzMountPoint), "%s/.SUNW_%s_%s",
937 if (slen > sizeof (gzMountPoint)) {
941 uuid, sizeof (gzMountPoint));
946 gzMountPoint+strlen(lzRootPath));
949 "%s", gzMountPoint+strlen(lzRootPath),
954 _z_echoDebug(DBG_MNTPT_NAMES, a_gzPath, a_zoneName, gzMountPoint,
959 if (_z_is_directory(gzMountPoint) == 0) {
960 _z_program_error(ERR_ZONEROOT_NOTDIR, gzMountPoint,
967 if (mkdir(gzMountPoint, 0600) != 0) {
968 _z_program_error(ERR_MNTPT_MKDIR, gzMountPoint, a_zoneName,
975 err = mount(a_gzPath, gzMountPoint, MS_RDONLY|MS_DATA, "lofs",
979 gzMountPoint, a_zoneName, strerror(errno));
985 *r_lzMountPoint = _z_strdup(gzMountPoint);