/freebsd-11-stable/etc/rc.d/ |
H A D | growfs | 52 rootdev=$(df / | tail -n 1 | awk '{ sub("/dev/", "", $1); print $1 }') 53 if [ x"$rootdev" = x"${rootdev%/*}" ]; then 55 rawdev="$rootdev" 57 rawdev=$(glabel status | awk '$1 == "'"$rootdev"'" { print $3 }') 59 echo "Can't figure out device for: $rootdev" 93 gpart commit "$rootdev" 94 growfs -y /dev/"$rootdev"
|
/freebsd-11-stable/stand/i386/loader/ |
H A D | chain.c | 61 struct i386_devdesc *rootdev; local 92 i386_getdev((void **)(&rootdev), argv[1], NULL); 93 if (rootdev == NULL) { 116 relocator_edx = bd_unit2bios(rootdev);
|
/freebsd-11-stable/stand/i386/libi386/ |
H A D | bootinfo32.c | 143 struct i386_devdesc *rootdev; local 158 * Allow the environment variable 'rootdev' to override the supplied device 159 * This should perhaps go to MI code and/or have $rootdev tested/set by 162 rootdevname = getenv("rootdev"); 163 i386_getdev((void **)(&rootdev), rootdevname, NULL); 164 if (rootdev == NULL) { /* bad $rootdev/$currdev */ 170 getrootmount(i386_fmtdev((void *)rootdev)); 172 /* Do legacy rootdev guessing */ 177 switch(rootdev [all...] |
H A D | bootinfo64.c | 188 struct i386_devdesc *rootdev; local 205 * Allow the environment variable 'rootdev' to override the supplied device 206 * This should perhaps go to MI code and/or have $rootdev tested/set by 209 rootdevname = getenv("rootdev"); 210 i386_getdev((void **)(&rootdev), rootdevname, NULL); 211 if (rootdev == NULL) { /* bad $rootdev/$currdev */ 217 getrootmount(i386_fmtdev((void *)rootdev));
|
H A D | biosdisk.c | 1297 int rootdev; local 1363 rootdev = MAKEBOOTDEV(major, slice, unit, partition); 1364 DEBUG("dev is 0x%x\n", rootdev); 1365 return (rootdev);
|
/freebsd-11-stable/stand/userboot/userboot/ |
H A D | bootinfo32.c | 142 struct i386_devdesc *rootdev; local 158 * Allow the environment variable 'rootdev' to override the supplied device 159 * This should perhaps go to MI code and/or have $rootdev tested/set by 162 rootdevname = getenv("rootdev"); 163 userboot_getdev((void **)(&rootdev), rootdevname, NULL); 164 if (rootdev == NULL) { /* bad $rootdev/$currdev */ 170 getrootmount(userboot_fmtdev((void *)rootdev)); 175 printf("root device %s invalid\n", i386_fmtdev(rootdev)); 179 free(rootdev); [all...] |
H A D | bootinfo64.c | 185 struct userboot_devdesc *rootdev; local 202 * Allow the environment variable 'rootdev' to override the supplied device 203 * This should perhaps go to MI code and/or have $rootdev tested/set by 206 rootdevname = getenv("rootdev"); 207 userboot_getdev((void **)(&rootdev), rootdevname, NULL); 208 if (rootdev == NULL) { /* bad $rootdev/$currdev */ 214 getrootmount(userboot_fmtdev((void *)rootdev));
|
/freebsd-11-stable/sys/arm/include/ |
H A D | atags.h | 65 uint32_t rootdev; member in struct:arm_lbabi_core
|
/freebsd-11-stable/stand/pc98/libpc98/ |
H A D | bioscd.c | 398 int rootdev; local 417 rootdev = MAKEBOOTDEV(major, 0, unit, 0); 418 DEBUG("dev is 0x%x\n", rootdev); 419 return(rootdev);
|
H A D | biosdisk.c | 766 int rootdev; local 822 rootdev = MAKEBOOTDEV(major, dev->d_slice + 1, unit, dev->d_partition); 823 DEBUG("dev is 0x%x\n", rootdev); 824 return(rootdev);
|
/freebsd-11-stable/stand/efi/loader/ |
H A D | bootinfo.c | 429 struct devdesc *rootdev; local 460 * Allow the environment variable 'rootdev' to override the supplied 461 * device. This should perhaps go to MI code and/or have $rootdev 464 rootdevname = getenv("rootdev"); 465 archsw.arch_getdev((void**)(&rootdev), rootdevname, NULL); 466 if (rootdev == NULL) { 472 getrootmount(efi_fmtdev((void *)rootdev));
|
H A D | main.c | 296 char *rootdev; local 298 rootdev = getenv("rootdev"); 299 if (rootdev != NULL) { 300 printf("Setting currdev to configured rootdev %s\n", rootdev); 301 set_currdev(rootdev);
|
/freebsd-11-stable/stand/common/ |
H A D | boot.c | 301 * Try to find the /etc/fstab file on the filesystem (rootdev), 311 getrootmount(char *rootdev) argument 320 sprintf(lbuf, "%s/etc/fstab", rootdev);
|
H A D | bootstrap.h | 65 int getrootmount(char *rootdev);
|