Home
last modified time | relevance | path

Searched refs:rootdev (Results 1 – 14 of 14) sorted by relevance

/freebsd-14.2/libexec/rc/rc.d/
H A Dgrowfs115 rootdev=${FSDEV#/dev/}
119 rootdev=$(zpool list -v $pool | awk 'END { print $1 }')
125 if [ x"$rootdev" = x"${rootdev%/*}" ]; then
127 rawdev="$rootdev"
129 rawdev=$(glabel status | awk -v rootdev=$rootdev 'index(rootdev, $1) { print $3; }')
131 echo "Can't figure out device for: $rootdev"
137 search=$rootdev
144 diskdev=${rootdev}
286 growfs -y /dev/"$rootdev"
289 zpool online -e $pool $rootdev
/freebsd-14.2/stand/i386/libi386/
H A Dbootinfo32.c57 struct i386_devdesc *rootdev; in bi_load32() local
77 i386_getdev((void **)(&rootdev), rootdevname, NULL); in bi_load32()
78 if (rootdev == NULL) { /* bad $rootdev/$currdev */ in bi_load32()
84 getrootmount(devformat(&rootdev->dd)); in bi_load32()
92 switch(rootdev->dd.d_dev->dv_type) { in bi_load32()
96 bi->bi_bios_dev = bd_unit2bios(rootdev); in bi_load32()
97 bootdevnr = bd_getdev(rootdev); in bi_load32()
106 rootdev->dd.d_dev->dv_type); in bi_load32()
109 printf("root device %s invalid\n", devformat(&rootdev->dd)); in bi_load32()
112 free(rootdev); in bi_load32()
H A Dbootinfo64.c100 struct i386_devdesc *rootdev; in bi_load64() local
123 i386_getdev((void **)(&rootdev), rootdevname, NULL); in bi_load64()
124 if (rootdev == NULL) { /* bad $rootdev/$currdev */ in bi_load64()
130 getrootmount(devformat(&rootdev->dd)); in bi_load64()
H A Dbiosdisk.c1300 int rootdev; in bd_getdev() local
1366 rootdev = MAKEBOOTDEV(major, slice, unit, partition); in bd_getdev()
1367 DPRINTF("dev is 0x%x\n", rootdev); in bd_getdev()
1368 return (rootdev); in bd_getdev()
/freebsd-14.2/stand/userboot/userboot/
H A Dbootinfo32.c56 struct devdesc *rootdev; in bi_load32() local
77 userboot_getdev((void **)(&rootdev), rootdevname, NULL); in bi_load32()
78 if (rootdev == NULL) { /* bad $rootdev/$currdev */ in bi_load32()
84 getrootmount(devformat(rootdev)); in bi_load32()
89 printf("root device %s invalid\n", devformat(rootdev)); in bi_load32()
93 free(rootdev); in bi_load32()
H A Dbootinfo64.c96 struct devdesc *rootdev; in bi_load64() local
118 userboot_getdev((void **)(&rootdev), rootdevname, NULL); in bi_load64()
119 if (rootdev == NULL) { /* bad $rootdev/$currdev */ in bi_load64()
125 getrootmount(devformat(rootdev)); in bi_load64()
/freebsd-14.2/stand/i386/loader/
H A Dchain.c64 struct i386_devdesc *rootdev; in command_chain() local
116 i386_getdev((void **)(&rootdev), argv[1], NULL); in command_chain()
117 if (rootdev == NULL) { in command_chain()
146 relocator_edx = bd_unit2bios(rootdev); in command_chain()
/freebsd-14.2/stand/efi/loader/
H A Dbootinfo.c331 struct devdesc *rootdev; in bi_load() local
370 archsw.arch_getdev((void**)(&rootdev), rootdevname, NULL); in bi_load()
371 if (rootdev == NULL) { in bi_load()
377 getrootmount(devformat(rootdev)); in bi_load()
H A Dmain.c503 char *rootdev; in find_currdev() local
509 rootdev = getenv("rootdev"); in find_currdev()
510 if (rootdev != NULL) { in find_currdev()
512 rootdev); in find_currdev()
513 set_currdev(rootdev); in find_currdev()
522 rootdev = getenv("uefi_rootdev"); in find_currdev()
523 if (rootdev == NULL) in find_currdev()
525 devpath = efi_name_to_devpath(rootdev); in find_currdev()
533 rootdev); in find_currdev()
/freebsd-14.2/sys/arm/include/
H A Datags.h64 uint32_t rootdev; member
/freebsd-14.2/stand/common/
H A Dboot.c320 getrootmount(char *rootdev) in getrootmount() argument
329 snprintf(lbuf, sizeof(lbuf), "%s/etc/fstab", rootdev); in getrootmount()
H A Dbootstrap.h68 int getrootmount(char *rootdev);
H A Dhelp.common292 set rootdev=<path>
296 $rootdev explicitly.
/freebsd-14.2/tools/tools/sysdoc/
H A Dtunables.mdoc1127 kern.rootdev