/freebsd/usr.sbin/makefs/tests/ |
H A D | makefs_zfs_tests.sh | 81 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 \ 161 atf_check -e match:"skipping unhandled" $MAKEFS -s 1g -o rootpath=/ \ 184 atf_check $MAKEFS -s 10g -o rootpath=/ -o poolname=$ZFS_POOL_NAME \ 203 atf_check $MAKEFS -s 10g -o rootpath=/ -o poolname=$ZFS_POOL_NAME \ 227 atf_check $MAKEFS -s 10g -o rootpath=/ -o poolname=$ZFS_POOL_NAME \ 270 atf_check $MAKEFS -s 10g -o rootpath=/ -o poolname=$ZFS_POOL_NAME \ 301 atf_check $MAKEFS -s 10g -o rootpath=/ -o poolname=$ZFS_POOL_NAME \ 357 atf_check $MAKEFS -s 10g -o rootpath=/ -o poolname=$ZFS_POOL_NAME \ [all …]
|
/freebsd/stand/common/ |
H A D | dev_net.c | 180 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 D | dsl.c | 136 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 D | zfs.h | 81 char *rootpath; /* implicit mount point prefix */ member
|
H A D | fs.c | 865 if (strcmp(mountpoint, zfs->rootpath) != 0) { in fs_layout_one() 866 mountpoint += strlen(zfs->rootpath); in fs_layout_one()
|
/freebsd/stand/uboot/ |
H A D | net.c | 119 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 D | zfs.c | 90 { '\0', "rootpath", &zfs->rootpath, OPT_STRPTR, in zfs_prep_opts() 235 if (zfs->rootpath == NULL) in zfs_check_opts() 236 easprintf(&zfs->rootpath, "/%s", zfs->poolname); in zfs_check_opts() 237 if (zfs->rootpath[0] != '/') in zfs_check_opts() 238 errx(1, "mountpoint `%s' must be absolute", zfs->rootpath); in zfs_check_opts() 253 free(zfs->rootpath); in zfs_cleanup_opts()
|
/freebsd/stand/libsa/ |
H A D | globals.c | 19 char rootpath[FNAME_SIZE] = "/"; /* root mount path */ variable
|
H A D | tftp.c | 473 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 D | nfs.c | 489 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 D | net.h | 77 extern char rootpath[FNAME_SIZE];
|
H A D | bootp.c | 392 strlcpy(rootpath, val, sizeof(rootpath)); in vend_rfc1048()
|
/freebsd/tools/boot/ |
H A D | rootgen.sh | 114 -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 D | full-test.sh | 327 -o poolname=${pool} -o bootfs=${pool} -o rootpath=/ \
|
/freebsd/stand/efi/libefi/ |
H A D | efinet.c | 214 strlcpy(rootpath, envstr, sizeof(rootpath)); in efi_env_net_params()
|
/freebsd/stand/efi/loader/ |
H A D | main.c | 2001 rootpath); in command_netserver() 2005 strncpy(rootpath, argv[1], sizeof(rootpath)); in command_netserver() 2006 rootpath[sizeof(rootpath) -1] = '\0'; in command_netserver()
|
/freebsd/release/tools/ |
H A D | vmimage.subr | 216 -o poolname=zroot -o bootfs=zroot/ROOT/default -o rootpath=/ \
|
/freebsd/stand/i386/libi386/ |
H A D | pxe.c | 254 printf(" %s:%s", inet_ntoa(rootip), rootpath); in pxe_print()
|