Searched refs:zoneroot (Results 1 - 15 of 15) sorted by relevance

/illumos-gate/usr/src/lib/libtsol/common/
H A Dzone.c145 * Get zoneroot for a zoneid
151 char zoneroot[MAXPATHLEN]; local
153 if (zone_getattr(zoneid, ZONE_ATTR_ROOT, zoneroot,
154 sizeof (zoneroot)) == -1) {
158 return (strdup(zoneroot));
162 * Get zoneroot for a zonename
176 * Get zoneroot for a label
239 char zoneroot[MAXPATHLEN]; local
245 if (zone_getattr(zids[i], ZONE_ATTR_ROOT, zoneroot,
246 sizeof (zoneroot))
[all...]
/illumos-gate/usr/src/lib/brand/solaris10/s10_support/
H A Ds10_support.c337 char zoneroot[MAXPATHLEN]; local
351 if (zone_get_rootpath(zonename, zoneroot, sizeof (zoneroot)) != Z_OK)
354 zoneroot) >= sizeof (path))
356 "%s" S10_REQ_EMULATION_DIR " is too long"), zoneroot);
427 if (snprintf(path, sizeof (path), "%s" DELETE_LIST_PATH, zoneroot) >=
430 " is too long"), zoneroot);
463 " reading from %s" DELETE_LIST_PATH "."), zoneroot);
471 zoneroot, strerror(errno));
/illumos-gate/usr/src/lib/brand/solaris10/zone/
H A Duninstall.ksh95 zoneroot=$zonepath/root
/illumos-gate/usr/src/cmd/zoneadm/
H A Dzfs.c377 * zoneroot dataset in order to prevent the GZ from sharing
983 * zoneroot dataset in order to prevent the GZ from sharing
1512 char zoneroot[MAXPATHLEN]; local
1529 if (snprintf(zoneroot, sizeof (zoneroot), "%s/root", zonepath) >=
1530 sizeof (zoneroot)) {
1550 zoneroot) != 0) {
1558 zoneroot, libzfs_error_description(g_zfs));
1579 if (mount(mtab->mnt_special, zoneroot, flags, mtab->mnt_fstype, NULL, 0,
1582 zerror(gettext("unable to mount zone root %s: %s"), zoneroot,
1603 char zoneroot[MAXPATHLEN]; local
[all...]
/illumos-gate/usr/src/cmd/tsol/updatehome/
H A Dsetupfiles.c97 char zoneroot[MAXPATHLEN]; local
140 if (zone_getattr(min_zoneid, ZONE_ATTR_ROOT, zoneroot,
141 sizeof (zoneroot)) == -1) {
147 zoneroot, pwd->pw_dir);
/illumos-gate/usr/src/lib/libproc/common/
H A DPzone.c244 if (P->zoneroot != NULL) {
245 (void) strlcpy(s, P->zoneroot, n);
251 if ((P->zoneroot = strdup("")) == NULL) {
256 (void) strlcpy(s, P->zoneroot, n);
261 if ((P->zoneroot = strdup("")) == NULL) {
268 (void) strlcpy(s, P->zoneroot, n);
274 if ((P->zoneroot = strdup("")) == NULL) {
281 (void) strlcpy(s, P->zoneroot, n);
287 if ((P->zoneroot = strdup(zpath)) == NULL) {
292 (void) strlcpy(s, P->zoneroot,
[all...]
H A DPcontrol.h231 char *zoneroot; /* cached path to zone root */ member in struct:ps_prochandle
H A DPcore.c2328 P->zoneroot = NULL;
/illumos-gate/usr/src/tools/scripts/
H A Donu.sh.in137 zoneroot=`echo $zone | cut -d: -f 4`
140 update $zoneroot/root
/illumos-gate/usr/src/cmd/allocate/
H A Dallocate3.c896 char *mode, *cmd, *wdwcmd, *zoneroot; local
906 if ((zoneroot = getzonerootbyname(zonename)) == NULL) {
918 (void) strcpy(zonepath, zoneroot);
919 free(zoneroot);
1699 char *p, *tmpfile, *zoneroot; local
1707 if ((zoneroot = getzonerootbyname(zonename)) == NULL) {
1711 (void) strcpy(zonepath, zoneroot);
1712 free(zoneroot);
1787 char *zoneroot; local
1795 if ((zoneroot
[all...]
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dauto_subr.c124 char zoneroot[MAXPATHLEN]; local
141 zoneroot, sizeof (zoneroot)) == -1)
145 zoneroot[0] = '\0';
166 appended_map, zoneroot);
/illumos-gate/usr/src/lib/libbe/common/
H A Dbe_zones.c74 * Description: Generate a string for a zone's zoneroot given the
78 * zoneroot - pointer to buffer to retrn zoneroot in.
79 * zoneroot_size - size of zoneroot
86 be_make_zoneroot(char *zonepath, char *zoneroot, int zoneroot_size) argument
88 (void) snprintf(zoneroot, zoneroot_size, "%s/root", zonepath);
101 * the zone's zoneroot that's currently active for this
103 * zoneroot-ds_size - size of zoneroot_ds.
182 * Description: This function will find the dataset mounted as the zoneroot
185 * zone_altroot - path of zoneroot wr
[all...]
H A Dbe_mount.c614 * alternate BE is mounted, it ties up the zone's zoneroot directory
692 * a non-global zone BE, the zoneroot_ds and zoneroot parameters
699 * zoneroot - zoneroot path of zone.
709 char *zoneroot, be_fs_list_data_t *fld)
776 "%s%s", fld->altroot, zoneroot);
2546 char zoneroot[MAXPATHLEN]; local
2563 /* Get handle to active zoneroot dataset */
2573 be_make_zoneroot(zonepath, zoneroot, sizeof (zoneroot));
708 be_get_legacy_fs(char *be_name, char *be_root_ds, char *zoneroot_ds, char *zoneroot, be_fs_list_data_t *fld) argument
2626 char zoneroot[MAXPATHLEN]; local
[all...]
H A Dbe_create.c1899 char zoneroot[MAXPATHLEN]; local
2004 /* Get zoneroot directory */
2005 be_make_zoneroot(zonepath, zoneroot, sizeof (zoneroot));
2219 zoneroot_ds, zoneroot, &fld)) != BE_SUCCESS) {
/illumos-gate/usr/src/lib/libzonecfg/common/
H A Dlibzonecfg.c5718 char zoneroot[MAXPATHLEN]; local
5732 if (zone_getattr(zoneid, ZONE_ATTR_ROOT, zoneroot,
5733 sizeof (zoneroot)) >= 0) {
5734 zlen = strlen(zoneroot);
5736 strcmp(zoneroot + zlen - 3, "/lu") == 0)

Completed in 130 milliseconds