/illumos-gate/usr/src/lib/lvm/libsvm/common/hdrs/ |
H A D | libsvm.h | 56 extern int svm_check(char *rootpath); 57 extern int svm_start(char *rootpath, svm_info_t **svm_infopp,
|
H A D | svm.h | 83 extern int write_xlate_to_mdconf(char *rootpath); 84 extern int write_targ_nm_table(char *rootpath); 85 extern int get_rootmetadevice(char *rootpath, char **devname);
|
/illumos-gate/usr/src/cmd/tsol/zones/ |
H A D | zoneshare.sh | 55 rootpath=$prefix/root 71 # Prepend each exported pathname with the zone's rootpath 79 `egrep -v "(^[#])" | nawk -v rootpath=$rootpath \ 81 print rootpath $NF ";" } ' | /sbin/sh`
|
H A D | zoneunshare.sh | 55 rootpath=$prefix/root 77 `egrep "^$rootpath"|nawk '{ print "/usr/sbin/unshare " $1 ";" }'|/sbin/sh`
|
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | dev_net.c | 171 setenv("boot.nfsroot.path", rootpath, 1); 315 if (bp_getfile(sock, "root", &rootip, rootpath)) { 326 printf("net_open: server path: %s\n", rootpath); 362 * Strip the server's address off of the rootpath if present and return it in 363 * network byte order, leaving just the pathname part in the global rootpath. 371 for (i = 0; rootpath[i] != '\0' && i < FNAME_SIZE; i++) 372 if (rootpath[i] == ':') 374 if (i && i != FNAME_SIZE && rootpath[i] == ':') { 375 rootpath[i++] = '\0'; 376 addr = inet_addr(&rootpath[ [all...] |
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | globals.c | 22 char rootpath[FNAME_SIZE] = "/"; /* root mount path */ variable
|
H A D | net.h | 71 extern char rootpath[FNAME_SIZE];
|
H A D | tftp.c | 429 pathsize = (strlen(rootpath) + 1 + strlen(path) + 1) * sizeof(char); 435 if (rootpath[strlen(rootpath) - 1] == '/' || path[0] == '/') 440 rootpath, extraslash, path);
|
H A D | nfs.c | 463 printf("nfs_open: %s (rootpath=%s)\n", upath, rootpath); 465 if (!rootpath[0]) { 466 printf("no rootpath, no nfs\n"); 488 if ((error = nfs_getrootfh(desc, rootpath, nfs_root_node.fh))) 502 setenv("boot.nfsroot.path", rootpath, 1); 1105 printf("nfs_open: %s (rootpath=%s)\n", upath, rootpath); 1107 if (!rootpath[0]) { 1108 printf("no rootpath, n [all...] |
H A D | bootp.c | 389 strlcpy(rootpath, val, sizeof(rootpath));
|
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/ |
H A D | pxe.c | 79 static void pxe_setnfshandle(char *rootpath); 285 * which brought us to life and a default rootpath. 291 if (!rootpath[0]) 292 strcpy(rootpath, PXENFSROOTPATH); 295 for (i = 0; rootpath[i] != '\0' && i < FNAME_SIZE; i++) 296 if (rootpath[i] == ':') 298 if (i && i != FNAME_SIZE && rootpath[i] == ':') { 299 rootpath[i++] = '\0'; 300 if (inet_addr(&rootpath[0]) != INADDR_NONE) 301 rootip.s_addr = inet_addr(&rootpath[ 452 pxe_setnfshandle(char *rootpath) argument 507 pxe_setnfshandle(char *rootpath) argument [all...] |
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | ref_subr.c | 152 for (j = 0; j < fs->rootpath.pathname4_len; j++) { 153 s = utf8_to_str(&fs->rootpath.pathname4_val[j], 159 if (fs->rootpath.pathname4_len == 0) 284 objp->rootpath.pathname4_val = NULL; 290 if (!xdr_pathname4(xdrs, &objp->rootpath))
|
/illumos-gate/usr/src/cmd/fs.d/ |
H A D | fslib.c | 423 char rootpath[MAXPATHLEN]; member in struct:zone_summary 469 summaries[j].rootpath, sizeof (summaries[j].rootpath)); 477 * Adding a trailing '/' to the zone's rootpath allows us to 481 * As an example, if the zone's rootpath is "/foo/root", 483 * "/foo/rootpath" doesn't. 485 (void) strlcat(summaries[j].rootpath, "/", 486 sizeof (summaries[j].rootpath)); 502 if (strncmp(mntpt, summaries[i].rootpath,
|
/illumos-gate/usr/src/cmd/zoneadmd/ |
H A D | vplat.c | 989 valid_mount_path(zlog_t *zlogp, const char *rootpath, const char *spec, argument 1008 * Join rootpath and dir. Make sure abspath ends with '/', this 1015 "%s%s/", rootpath, dir) >= sizeof (abspath)) { 1017 rootpath, dir); 1022 * Starting with rootpath, verify the mount path one component 1025 slashp = &abspath[strlen(rootpath)]; 1192 mount_one(zlog_t *zlogp, struct zone_fstab *fsptr, const char *rootpath, argument 1200 if ((rv = valid_mount_path(zlogp, rootpath, fsptr->zone_fs_special, 1203 rootpath, fsptr->zone_fs_dir); 1207 if (make_one_dir(zlogp, rootpath, fspt 1356 build_mounted_pre_var(zlog_t *zlogp, char *rootpath, size_t rootlen, const char *zonepath, char *luroot, size_t lurootlen) argument 1435 build_mounted_post_var(zlog_t *zlogp, zone_mnt_t mount_cmd, char *rootpath, const char *luroot) argument 1674 char rootpath[MAXPATHLEN]; local 2901 char rootpath[MAXPATHLEN]; local 3706 validate_rootds_label(zlog_t *zlogp, char *rootpath, m_label_t *zone_sl) argument 3797 tsol_mounts(zlog_t *zlogp, char *zone_name, char *rootpath) argument 4308 duplicate_zone_root(zlog_t *zlogp, const char *rootpath) argument 4364 duplicate_reachable_path(zlog_t *zlogp, const char *rootpath) argument 4759 char rootpath[MAXPATHLEN]; local [all...] |
H A D | zoneadmd.c | 617 char rootpath[MAXPATHLEN]; local 624 /* determine the zone rootpath */ 637 (void) strlcpy(rootpath, luroot, sizeof (rootpath)); 640 rootpath, sizeof (rootpath)) != Z_OK) { 646 if ((rv = valid_mount_path(zlogp, rootpath, spec, dir, fstype)) < 0) { 648 rootpath, dir); 652 if (make_one_dir(zlogp, rootpath, dir, 666 if ((rv = valid_mount_path(zlogp, rootpath, spe [all...] |
/illumos-gate/usr/src/boot/sys/boot/uboot/lib/ |
H A D | net.c | 112 * Silently get out right away if we don't have rootpath, because none 115 * If we do have rootpath, copy it into the global var and also set 120 if ((envstr = ub_env_get("rootpath")) == NULL) 122 strlcpy(rootpath, envstr, sizeof(rootpath)); 123 setenv("dhcp.root-path", rootpath, 0); 154 * Get optional serverip before rootpath; the latter can override it. 164 * There must be a rootpath. It may be ip:/path or it may be just the 171 printf("No server address for rootpath '%s'\n", envstr);
|
/illumos-gate/usr/src/lib/libzonecfg/common/ |
H A D | scratchops.c | 83 zonecfg_open_scratch(const char *rootpath, boolean_t createfile) argument 92 rootpath);
|
/illumos-gate/usr/src/lib/storage/libg_fc/common/ |
H A D | io.c | 750 char rootpath[MAXPATHLEN]; local 765 rootpath[0] = '\0'; 772 strcat(rootpath, devpath + strlen(DEV_PREFIX) - 1); 774 cptr = strrchr(rootpath, ':'); 794 if (strcmp(rootpath, devfs_path) == 0) {
|
/illumos-gate/usr/src/stand/lib/fs/nfs/ |
H A D | mount.c | 393 struct nfs_file rootpath; local 444 error = lookup(path, &rootpath, TRUE); 450 roothandle = rootpath; /* structure copy */
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.rexecd.c | 153 static char rootpath[] = "PATH=/usr/sbin:/usr/bin"; variable 431 envinit[ENVINIT_PATH] = rootpath;
|
/illumos-gate/usr/src/cmd/fs.d/nfs/rp_basic/ |
H A D | libnfs_basic.c | 222 (void) make_pathname4(buf2, &fsl_array[i].rootpath);
|
/illumos-gate/usr/src/tools/onbld/Scm/ |
H A D | Backup.py | 121 def members_match_fs(self, rootpath): 123 specified by rootpath. Return False if they differ. 131 def _member_matches_fs(member, rootpath): 133 fpath = os.path.join(rootpath, member.name) 156 if not _member_matches_fs(elt, rootpath):
|
/illumos-gate/usr/src/cmd/prtconf/ |
H A D | pdevinfo.c | 175 char *rootpath; local 181 rootpath = "/"; 197 if (strcmp(rootpath, "/") != 0) { 212 root_node = di_init_impl(rootpath, flag, &fetch); 218 root_node = di_init(rootpath, flag);
|
/illumos-gate/usr/src/cmd/zoneadm/ |
H A D | zoneadm.c | 943 char rootpath[MAXPATHLEN]; /* root path */ local 1131 if (snprintf(rootpath, sizeof (rootpath), "%s/root", rpath) >= 1132 sizeof (rootpath)) { 1141 if ((res = stat(rootpath, &stbuf)) == 0) { 1155 "directory.\n"), rootpath); 1161 "owned by root.\n"), rootpath); 1167 "0755.\n"), rootpath); 4901 char rootpath[MAXPATHLEN], zonepath[MAXPATHLEN]; local 5005 if ((err = zone_get_rootpath(target_zone, rootpath, [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wanboot/wanboot-cgi/ |
H A D | wanboot-cgi.c | 1696 char *rootpath = NULL; local 1806 &rootpath, &miniroot_info, &https_rootserver)) { 1809 payload = rootpath; 1895 free_path(&rootpath);
|