Searched refs:migpath (Results 1 – 1 of 1) sorted by relevance
/titanic_41/usr/src/lib/libzonecfg/common/ |
H A D | libzonecfg.c | 619 char migpath[MAXPATHLEN]; in zonecfg_get_attach_handle() local 623 if (snprintf(migpath, sizeof (migpath), "%s/root", path) >= in zonecfg_get_attach_handle() 624 sizeof (migpath)) in zonecfg_get_attach_handle() 627 if (stat(migpath, &buf) == -1 || !S_ISDIR(buf.st_mode)) in zonecfg_get_attach_handle() 630 if (snprintf(migpath, sizeof (migpath), "%s/%s", path, fname) >= in zonecfg_get_attach_handle() 631 sizeof (migpath)) in zonecfg_get_attach_handle() 634 if ((err = zonecfg_get_handle_impl(zonename, migpath, handle)) != Z_OK) in zonecfg_get_attach_handle() 1378 char migpath[MAXPATHLEN]; in zonecfg_detach_save() local 1387 (void) strlcpy(migpath, "-", sizeof (migpath)); in zonecfg_detach_save() 1397 if (snprintf(migpath, sizeof (migpath), "%s/%s", path, in zonecfg_detach_save() [all …]
|