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 \
136 atf_check $MAKEFS -s 1g -o rootpath=/ -o poolname=$ZFS_POOL_NAME \
163 atf_check $MAKEFS -s 10g -o rootpath=/ -o poolname=$ZFS_POOL_NAME \
182 atf_check $MAKEFS -s 10g -o rootpath=/ -o poolname=$ZFS_POOL_NAME \
206 atf_check $MAKEFS -s 10g -o rootpath=/ -o poolname=$ZFS_POOL_NAME \
249 atf_check $MAKEFS -s 10g -o rootpath=/ -o poolname=$ZFS_POOL_NAME \
280 atf_check $MAKEFS -s 10g -o rootpath=/ -o poolname=$ZFS_POOL_NAME \
403 atf_check $MAKEFS -s 1g -o rootpath=/ -o poolname=$ZFS_POOL_NAME \
449 atf_check $MAKEFS -s 1g -o rootpath=/ -o poolname=$ZFS_POOL_NAME \
[all …]
/freebsd/stand/common/
H A Ddev_net.c180 setenv("boot.tftproot.path", rootpath, 1); in net_open()
183 setenv("boot.nfsroot.path", rootpath, 1); in net_open()
323 if (bp_getfile(sock, "root", &rootip, rootpath)) { in net_getparams()
334 printf("%s: server path: %s\n", __func__, rootpath); in net_getparams()
398 if (strncmp(rootpath, uri_schemes[i].scheme, in net_parse_rootpath()
405 ptr = rootpath; in net_parse_rootpath()
411 addr = inet_addr(rootpath); in net_parse_rootpath()
412 bcopy(ptr, rootpath, strlen(ptr) + 1); in net_parse_rootpath()
429 bcopy(val, rootpath, strlen(val) + 1); in net_parse_rootpath()
433 bcopy(ptr, rootpath, strlen(ptr) + 1); in net_parse_rootpath()
/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()
296 zfs->rootpath); in dsl_init()
H A Dzfs.h80 char *rootpath; /* implicit mount point prefix */ member
H A Dfs.c840 if (strcmp(mountpoint, zfs->rootpath) != 0) { in fs_layout_one()
841 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.c90 { '\0', "rootpath", &zfs->rootpath, OPT_STRPTR, in zfs_prep_opts()
233 if (zfs->rootpath == NULL) in zfs_check_opts()
234 easprintf(&zfs->rootpath, "/%s", zfs->poolname); in zfs_check_opts()
235 if (zfs->rootpath[0] != '/') in zfs_check_opts()
236 errx(1, "mountpoint `%s' must be absolute", zfs->rootpath); in zfs_check_opts()
251 free(zfs->rootpath); in zfs_cleanup_opts()
/freebsd/stand/libsa/
H A Dglobals.c19 char rootpath[FNAME_SIZE] = "/"; /* root mount path */ variable
H A Dtftp.c473 pathsize = (strlen(rootpath) + 1 + strlen(path) + 1) * sizeof(char); in tftp_open()
479 if (rootpath[strlen(rootpath) - 1] == '/' || path[0] == '/') in tftp_open()
484 rootpath, extraslash, path); in tftp_open()
H A Dnet.h77 extern char rootpath[FNAME_SIZE];
H A Dnfs.c489 inet_ntoa(rootip), rootpath); in nfs_open()
491 if (!rootpath[0]) { in nfs_open()
505 if ((error = nfs_getrootfh(desc, rootpath, &nfs_root_node.fhsize, in nfs_open()
520 setenv("boot.nfsroot.path", rootpath, 1); in nfs_open()
H A Dbootp.c392 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=/ \
217 -o poolname=${pool} -o bootfs=${pool} -o rootpath=/ \
245 -o poolname=${pool} -o bootfs=${pool} -o rootpath=/ \
265 -o poolname=${pool} -o bootfs=${pool} -o rootpath=/ \
H A Dfull-test.sh286 -o poolname=${pool} -o bootfs=${pool} -o rootpath=/ \
/freebsd/stand/efi/loader/
H A Dmain.c1737 rootpath); in command_netserver()
1741 strncpy(rootpath, argv[1], sizeof(rootpath)); in command_netserver()
1742 rootpath[sizeof(rootpath) -1] = '\0'; in command_netserver()
/freebsd/stand/efi/libefi/
H A Definet.c214 strlcpy(rootpath, envstr, sizeof(rootpath)); in efi_env_net_params()
/freebsd/release/tools/
H A Dvmimage.subr187 -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()