Home
last modified time | relevance | path

Searched refs:rootpath (Results 1 – 18 of 18) sorted by relevance

/freebsd/usr.sbin/makefs/tests/
H A Dmakefs_zfs_tests.sh81 atf_check $MAKEFS -s $poolsize -o mssize=$mssize -o rootpath=/ \
115 atf_check $MAKEFS -s 10g -o rootpath=/ -o poolname=$ZFS_POOL_NAME \
142 atf_check $MAKEFS -s 1g -o rootpath=/ \
225 atf_check $MAKEFS -s 1g -o rootpath=/ -o poolname=$ZFS_POOL_NAME \
250 atf_check -e match:"skipping unhandled" $MAKEFS -s 1g -o rootpath=/ \
273 atf_check $MAKEFS -s 10g -o rootpath=/ -o poolname=$ZFS_POOL_NAME \
292 atf_check $MAKEFS -s 10g -o rootpath=/ -o poolname=$ZFS_POOL_NAME \
316 atf_check $MAKEFS -s 10g -o rootpath=/ -o poolname=$ZFS_POOL_NAME \
359 atf_check $MAKEFS -s 10g -o rootpath=/ -o poolname=$ZFS_POOL_NAME \
390 atf_check $MAKEFS -s 10g -o rootpath=/ -o poolname=$ZFS_POOL_NAME \
[all …]
/freebsd/stand/common/
H A Ddev_net.c178 setenv("boot.tftproot.path", rootpath, 1); in net_open()
181 setenv("boot.nfsroot.path", rootpath, 1); in net_open()
306 if (bp_getfile(sock, "root", &rootip, rootpath)) { in net_getparams()
317 DEBUG_PRINTF(1,("%s: server path: %s\n", __func__, rootpath)); in net_getparams()
385 if (strncmp(rootpath, uri_schemes[i].scheme, in net_parse_rootpath()
392 ptr = rootpath; in net_parse_rootpath()
398 addr = inet_addr(rootpath); in net_parse_rootpath()
400 rootpath, addr)); in net_parse_rootpath()
401 bcopy(ptr, rootpath, strlen(ptr) + 1); in net_parse_rootpath()
423 bcopy(val, rootpath, strlen(val) + 1); in net_parse_rootpath()
[all …]
/freebsd/usr.sbin/makefs/zfs/
H A Ddsl.c136 assert(strstr(mountpoint, zfs->rootpath) == mountpoint); in dsl_dir_get_mountpoint()
170 if (strcmp(val, zfs->rootpath) != 0 && in dsl_dir_set_prop()
171 strcmp(zfs->rootpath, "/") != 0 && in dsl_dir_set_prop()
172 (strstr(val, zfs->rootpath) != val || in dsl_dir_set_prop()
173 val[strlen(zfs->rootpath)] != '/')) { in dsl_dir_set_prop()
175 "the root path `%s'", val, zfs->rootpath); in dsl_dir_set_prop()
330 zfs->rootpath); in dsl_init()
H A Dzfs.h81 char *rootpath; /* implicit mount point prefix */ member
H A Dfs.c878 if (strcmp(mountpoint, zfs->rootpath) != 0) { in fs_layout_one()
879 mountpoint += strlen(zfs->rootpath); in fs_layout_one()
/freebsd/stand/uboot/
H A Dnet.c119 strlcpy(rootpath, envstr, sizeof(rootpath)); in get_env_net_params()
120 setenv("dhcp.root-path", rootpath, 0); in get_env_net_params()
/freebsd/usr.sbin/makefs/
H A Dzfs.c93 { '\0', "rootpath", &zfs->rootpath, OPT_STRPTR, in zfs_prep_opts()
238 if (zfs->rootpath == NULL) in zfs_check_opts()
239 easprintf(&zfs->rootpath, "/%s", zfs->poolname); in zfs_check_opts()
240 if (zfs->rootpath[0] != '/') in zfs_check_opts()
241 errx(1, "mountpoint `%s' must be absolute", zfs->rootpath); in zfs_check_opts()
256 free(zfs->rootpath); in zfs_cleanup_opts()
/freebsd/stand/libsa/
H A Dtftp.c520 pathsize = (strlen(rootpath) + 1 + strlen(path) + 1) * sizeof(char); in tftp_open()
526 if (rootpath[strlen(rootpath) - 1] == '/' || path[0] == '/') in tftp_open()
530 if (rootpath[0] == '/' && rootpath[1] == '\0' && path[0] == '/') in tftp_open()
534 rootpath, extraslash, path); in tftp_open()
H A Dglobals.c19 char rootpath[FNAME_SIZE] = "/"; /* root mount path */ variable
H A Dnfs.c490 inet_ntoa(rootip), rootpath); in nfs_open()
492 if (!rootpath[0]) { in nfs_open()
506 if ((error = nfs_getrootfh(desc, rootpath, &nfs_root_node.fhsize, in nfs_open()
521 setenv("boot.nfsroot.path", rootpath, 1); in nfs_open()
H A Dnet.h77 extern char rootpath[FNAME_SIZE];
H A Dbootp.c352 strlcpy(rootpath, val, sizeof(rootpath)); in vend_rfc1048()
/freebsd/tools/boot/
H A Drootgen.sh114 -o poolname=${pool} -o bootfs=${pool} -o rootpath=/ \
137 -o poolname=${pool} -o bootfs=${pool} -o rootpath=/ \
160 -o poolname=${pool} -o bootfs=${pool} -o rootpath=/ \
218 -o poolname=${pool} -o bootfs=${pool} -o rootpath=/ \
H A Dfull-test.sh326 -o poolname=${pool} -o bootfs=${pool} -o rootpath=/ \
/freebsd/stand/efi/libefi/
H A Definet.c214 strlcpy(rootpath, envstr, sizeof(rootpath)); in efi_env_net_params()
/freebsd/stand/efi/loader/
H A Dmain.c1972 rootpath); in command_netserver()
1976 strncpy(rootpath, argv[1], sizeof(rootpath)); in command_netserver()
1977 rootpath[sizeof(rootpath) -1] = '\0'; in command_netserver()
/freebsd/release/tools/
H A Dvmimage.subr246 -o poolname=zroot -o bootfs=zroot/ROOT/default -o rootpath=/ \
/freebsd/stand/i386/libi386/
H A Dpxe.c254 printf(" %s:%s", inet_ntoa(rootip), rootpath); in pxe_print()