Searched refs:migpath (Results 1 – 1 of 1) sorted by relevance
/illumos-gate/usr/src/lib/libzonecfg/common/ |
H A D | libzonecfg.c | 626 char migpath[MAXPATHLEN]; in zonecfg_get_attach_handle() local 630 if (snprintf(migpath, sizeof (migpath), "%s/root", path) >= in zonecfg_get_attach_handle() 631 sizeof (migpath)) in zonecfg_get_attach_handle() 634 if (stat(migpath, &buf) == -1 || !S_ISDIR(buf.st_mode)) in zonecfg_get_attach_handle() 637 if (snprintf(migpath, sizeof (migpath), "%s/%s", path, fname) >= in zonecfg_get_attach_handle() 638 sizeof (migpath)) in zonecfg_get_attach_handle() 641 if ((err = zonecfg_get_handle_impl(zonename, migpath, handle)) != Z_OK) in zonecfg_get_attach_handle() 1386 char migpath[MAXPATHLEN]; in zonecfg_detach_save() local 1395 (void) strlcpy(migpath, "-", sizeof (migpath)); in zonecfg_detach_save() 1405 if (snprintf(migpath, sizeof (migpath), "%s/%s", path, in zonecfg_detach_save() [all …]
|