Searched defs:zonepath (Results 1 - 9 of 9) sorted by relevance

/osnet-11/usr/src/lib/brand/solaris10/s10_support/
H A Ds10_support.c199 get_ku_patchlist(char *zonepath, char **patchlist) argument
207 "%s/root/var/sadm/pkg/SUNWcakr/pkginfo", zonepath)
249 char zonepath[MAXPATHLEN]; local
256 if (zone_get_zonepath(zonename, zonepath, sizeof (zonepath)) != Z_OK)
264 zonepath) >= sizeof (sanity_skip))
270 if (get_ku_patchlist(zonepath, &patchlist) != 0 || patchlist == NULL)
/osnet-11/usr/src/lib/libbe/common/
H A Dbe_zones.c69 * zone's zonepath.
71 * zonepath - pointer to zonepath
80 be_make_zoneroot(char *zonepath, char *zoneroot, int zoneroot_size) argument
82 (void) snprintf(zoneroot, zoneroot_size, "%s/root", zonepath);
178 * It will iterate all of the zone roots under a zonepath, find the
183 * zonepath_ds - pointer to zone's zonepath dataset. In a local
253 "find active zone root in zonepath dataset %s: %s\n"),
264 "find active zone root in zonepath dataset %s\n"),
280 * zonepath_ds - dataset of the zone's zonepath
[all...]
H A Dbe_create.c1677 * contains the zonepath in front of (what is essentially)
1681 * since zone BE datasets will no longer have the zonepath
2084 char *zonepath = NULL; local
2157 zonepath = z_zlist_get_zonepath(zlist, i);
2160 * Get the dataset of this zonepath. If its not
2163 if ((zonepath_ds = be_get_ds_from_dir(zonepath)) == NULL)
2168 * dataset of its zonepath.
2201 * zonepath dataset as well.
2203 * zonepath_ds - pointer to zone's zonepath dataset.
2243 "destroy zone roots under zonepath datase
2370 char *zonepath = NULL; local
[all...]
H A Dbe_mount.c1535 * Description: This function loopback mounts a zonepath into the altroot
1541 * zonepath - pointer to zone path in the current BE
1552 const char *zonepath,
1581 * before attempting the loopback mount of zonepath under altroot,
1586 /* get the parent directory for zonepath */
1587 p = strrchr(zonepath, '/');
1588 if (p != NULL && p != zonepath) {
1590 p - zonepath + 1)) == NULL) {
1594 (void) strlcpy(parent_dir, zonepath, p - zonepath
1551 loopback_mount_zonepath( const char *zonepath, be_mount_data_t *md, boolean_t use_tmpfs) argument
2181 char *zonepath = NULL; local
2296 char *zonepath = NULL; local
2388 be_mount_one_zone(zfs_handle_t *be_zhp, be_mount_data_t *md, char *zonename, char *zonepath, char *zonepath_ds) argument
2481 be_unmount_one_zone(be_unmount_data_t *ud, char *zonename, char *zonepath, char *zonepath_ds) argument
[all...]
H A Dbe_utils.c307 * Description: Generate string for a zone's BE rpool dataset given a zonepath
310 * zonepath - pointer zpool name.
319 be_make_nested_container_ds(const char *zonepath, char *rpool_ds, argument
322 (void) snprintf(rpool_ds, rpool_ds_size, "%s/%s", zonepath,
1064 * contains the zonepath in front of (what is essentially)
1068 * since zone BE datasets will no longer have the zonepath
/osnet-11/usr/src/lib/libtsol/common/
H A Dgetpathbylabel.c229 struct mnttab *autofs_mnt, char *globalpath, char *zonepath, int global_len)
318 zp_len = strlen(zonepath);
355 char zonepath[MAXPATHLEN]; local
365 (void) strncpy(zonepath, prefix, MAXPATHLEN);
399 globalpath, zonepath, MAXPATHLEN) == 0) {
228 getnfspathbyautofs(struct mntlist *mlist, zoneid_t zoneid, struct mnttab *autofs_mnt, char *globalpath, char *zonepath, int global_len) argument
/osnet-11/usr/src/lib/libproc/common/
H A DPzone.c187 i_zone_get_zonepath(char *zone_name, char *zonepath, size_t rp_sz) argument
206 return (zone_get_zonepath_fp(zone_name, zonepath, rp_sz));
/osnet-11/usr/src/lib/libbrand/common/
H A Dlibbrand.c326 get_zonepath_ds(const char *zonepath, char *dataset, size_t len) argument
336 query.mnt_mountp = (char *)zonepath;
353 const char *zonename, const char *zonepath, const char *username,
375 if (zonepath == NULL) {
378 if (get_zonepath_ds(zonepath, ds, sizeof (ds)) != 0) {
380 * The zonepath doesn't exist yet. If we
395 if (zonepath == NULL)
397 dst += strlcpy(dbuf + dst, zonepath, dbuf_size - dst);
440 const char *zonepath, const char *username, const char *curr_zone,
490 zonename, zonepath, usernam
352 i_substitute_tokens(const char *sbuf, char *dbuf, int dbuf_size, const char *zonename, const char *zonepath, const char *username, const char *curr_zone) argument
439 brand_get_value(struct brand_handle *bhp, const char *zonename, const char *zonepath, const char *username, const char *curr_zone, char *buf, size_t len, const xmlChar *tagname, boolean_t substitute, boolean_t optional) argument
504 brand_get_attach(brand_handle_t bh, const char *zonename, const char *zonepath, char *buf, size_t len) argument
513 brand_get_boot(brand_handle_t bh, const char *zonename, const char *zonepath, char *buf, size_t len) argument
534 brand_get_clone(brand_handle_t bh, const char *zonename, const char *zonepath, char *buf, size_t len) argument
543 brand_get_detach(brand_handle_t bh, const char *zonename, const char *zonepath, char *buf, size_t len) argument
552 brand_get_halt(brand_handle_t bh, const char *zonename, const char *zonepath, char *buf, size_t len) argument
599 brand_get_install(brand_handle_t bh, const char *zonename, const char *zonepath, char *buf, size_t len) argument
624 brand_get_postattach(brand_handle_t bh, const char *zonename, const char *zonepath, char *buf, size_t len) argument
633 brand_get_postclone(brand_handle_t bh, const char *zonename, const char *zonepath, char *buf, size_t len) argument
642 brand_get_postinstall(brand_handle_t bh, const char *zonename, const char *zonepath, char *buf, size_t len) argument
651 brand_get_postmove(brand_handle_t bh, const char *zonename, const char *zonepath, char *buf, size_t len) argument
660 brand_get_postsnap(brand_handle_t bh, const char *zonename, const char *zonepath, char *buf, size_t len) argument
669 brand_get_poststatechange(brand_handle_t bh, const char *zonename, const char *zonepath, char *buf, size_t len) argument
678 brand_get_predetach(brand_handle_t bh, const char *zonename, const char *zonepath, char *buf, size_t len) argument
687 brand_get_presnap(brand_handle_t bh, const char *zonename, const char *zonepath, char *buf, size_t len) argument
696 brand_get_prestatechange(brand_handle_t bh, const char *zonename, const char *zonepath, char *buf, size_t len) argument
705 brand_get_preuninstall(brand_handle_t bh, const char *zonename, const char *zonepath, char *buf, size_t len) argument
714 brand_get_uninstall(brand_handle_t bh, const char *zonename, const char *zonepath, char *buf, size_t len) argument
723 brand_get_validatesnap(brand_handle_t bh, const char *zonename, const char *zonepath, char *buf, size_t len) argument
740 brand_get_verify_adm(brand_handle_t bh, const char *zonename, const char *zonepath, char *buf, size_t len) argument
749 brand_get_sysboot(brand_handle_t bh, const char *zonename, const char *zonepath, char *buf, size_t len) argument
969 i_brand_platform_iter_mounts(struct brand_handle *bhp, const char *zonepath, const char *zonename, int (*func)(void *, const char *, const char *, const char *, const char *), void *data, const xmlChar *mount_type) argument
1045 brand_platform_iter_gmounts(brand_handle_t bh, const char *zonepath, const char *zonename, int (*func)(void *, const char *, const char *, const char *, const char *), void *data) argument
1065 brand_platform_iter_datasets(brand_handle_t bh, const char *zonepath, int (*func)(void *, const char *, const char *), void *data) argument
[all...]
/osnet-11/usr/src/lib/libzonecfg/common/
H A Dlibzonecfg.c158 #define DTD_ATTR_ZONEPATH (const xmlChar *) "zonepath"
284 { "zonepath", DTD_ATTR_ZONEPATH },
1374 zonecfg_set_zonepath(zone_dochandle_t handle, char *zonepath) argument
1384 modpath = strdup(zonepath);
1561 * since we need to walk all zonepath's in order to be able to detect conflicts
1572 char name[ZONENAME_MAX], zonepath[MAXPATHLEN]; local
1585 if ((err = zonecfg_get_zonepath(handle, zonepath,
1586 sizeof (zonepath))) != Z_OK)
1588 (void) strlcpy(ze.zone_path, zonepath + strlen(zonecfg_root),
2023 char path[MAXPATHLEN], zonepath[MAXPATHLE local
6657 zone_get_zonepath(char *zone_name, char *zonepath, size_t rp_sz) argument
[all...]

Completed in 4571 milliseconds