| /freebsd-13.1/libexec/rc/rc.d/ |
| H A D | growfs | 58 rootdev=${FSDEV#/dev/} 62 rootdev=$(zpool list -v $pool | awk 'END { print $1 }') 68 if [ x"$rootdev" = x"${rootdev%/*}" ]; then 70 rawdev="$rootdev" 72 rawdev=$(glabel status | awk '$1 == "'"$rootdev"'" { print $3 }') 74 echo "Can't figure out device for: $rootdev" 108 gpart commit "$rootdev" 111 growfs -y /dev/"$rootdev" 114 zpool online -e $pool $rootdev
|
| /freebsd-13.1/stand/i386/libi386/ |
| H A D | bootinfo32.c | 143 struct i386_devdesc *rootdev; in bi_load32() local 163 i386_getdev((void **)(&rootdev), rootdevname, NULL); in bi_load32() 164 if (rootdev == NULL) { /* bad $rootdev/$currdev */ in bi_load32() 170 getrootmount(i386_fmtdev((void *)rootdev)); in bi_load32() 177 switch(rootdev->dd.d_dev->dv_type) { in bi_load32() 181 bi.bi_bios_dev = bd_unit2bios(rootdev); in bi_load32() 182 bootdevnr = bd_getdev(rootdev); in bi_load32() 191 rootdev->dd.d_dev->dv_type); in bi_load32() 194 printf("root device %s invalid\n", i386_fmtdev(rootdev)); in bi_load32() 197 free(rootdev); in bi_load32()
|
| H A D | bootinfo64.c | 189 struct i386_devdesc *rootdev; in bi_load64() local 211 i386_getdev((void **)(&rootdev), rootdevname, NULL); in bi_load64() 212 if (rootdev == NULL) { /* bad $rootdev/$currdev */ in bi_load64() 218 getrootmount(i386_fmtdev((void *)rootdev)); in bi_load64()
|
| H A D | biosdisk.c | 1329 int rootdev; in bd_getdev() local 1395 rootdev = MAKEBOOTDEV(major, slice, unit, partition); in bd_getdev() 1396 DPRINTF("dev is 0x%x\n", rootdev); in bd_getdev() 1397 return (rootdev); in bd_getdev()
|
| /freebsd-13.1/stand/i386/loader/ |
| H A D | chain.c | 67 struct i386_devdesc *rootdev; in command_chain() local 119 i386_getdev((void **)(&rootdev), argv[1], NULL); in command_chain() 120 if (rootdev == NULL) { in command_chain() 149 relocator_edx = bd_unit2bios(rootdev); in command_chain()
|
| /freebsd-13.1/stand/userboot/userboot/ |
| H A D | bootinfo32.c | 142 struct i386_devdesc *rootdev; in bi_load32() local 163 userboot_getdev((void **)(&rootdev), rootdevname, NULL); in bi_load32() 164 if (rootdev == NULL) { /* bad $rootdev/$currdev */ in bi_load32() 170 getrootmount(userboot_fmtdev((void *)rootdev)); in bi_load32() 175 printf("root device %s invalid\n", i386_fmtdev(rootdev)); in bi_load32() 179 free(rootdev); in bi_load32()
|
| H A D | bootinfo64.c | 185 struct userboot_devdesc *rootdev; in bi_load64() local 207 userboot_getdev((void **)(&rootdev), rootdevname, NULL); in bi_load64() 208 if (rootdev == NULL) { /* bad $rootdev/$currdev */ in bi_load64() 214 getrootmount(userboot_fmtdev((void *)rootdev)); in bi_load64()
|
| /freebsd-13.1/stand/efi/loader/ |
| H A D | main.c | 501 char *rootdev; in find_currdev() local 507 rootdev = getenv("rootdev"); in find_currdev() 508 if (rootdev != NULL) { in find_currdev() 510 rootdev); in find_currdev() 511 set_currdev(rootdev); in find_currdev() 520 rootdev = getenv("uefi_rootdev"); in find_currdev() 521 if (rootdev == NULL) in find_currdev() 523 devpath = efi_name_to_devpath(rootdev); in find_currdev() 531 rootdev); in find_currdev()
|
| H A D | bootinfo.c | 440 struct devdesc *rootdev; in bi_load() local 476 archsw.arch_getdev((void**)(&rootdev), rootdevname, NULL); in bi_load() 477 if (rootdev == NULL) { in bi_load() 483 getrootmount(efi_fmtdev((void *)rootdev)); in bi_load()
|
| /freebsd-13.1/sys/arm/include/ |
| H A D | atags.h | 66 uint32_t rootdev; member
|
| /freebsd-13.1/stand/common/ |
| H A D | boot.c | 322 getrootmount(char *rootdev) in getrootmount() argument 331 sprintf(lbuf, "%s/etc/fstab", rootdev); in getrootmount()
|
| H A D | bootstrap.h | 69 int getrootmount(char *rootdev);
|
| H A D | help.common | 292 set rootdev=<path> 296 $rootdev explicitly.
|
| /freebsd-13.1/tools/tools/sysdoc/ |
| H A D | tunables.mdoc | 1128 kern.rootdev
|