/freebsd-10.3-release/etc/rc.d/ |
H A D | growfs | 51 rootdev=$(df / | tail -n 1 | awk '{ sub("/dev/", "", $1); print $1 }') 52 if [ x"$rootdev" = x"${rootdev%/*}" ]; then 54 rawdev="$rootdev" 56 rawdev=$(glabel status | awk '$1 == "'"$rootdev"'" { print $3 }') 58 echo "Can't figure out device for: $rootdev" 92 growfs -y /dev/"$rootdev"
|
/freebsd-10.3-release/sys/boot/i386/libi386/ |
H A D | bootinfo32.c | 138 struct i386_devdesc *rootdev; local 153 * Allow the environment variable 'rootdev' to override the supplied device 154 * This should perhaps go to MI code and/or have $rootdev tested/set by 157 rootdevname = getenv("rootdev"); 158 i386_getdev((void **)(&rootdev), rootdevname, NULL); 159 if (rootdev == NULL) { /* bad $rootdev/$currdev */ 165 getrootmount(i386_fmtdev((void *)rootdev)); 167 /* Do legacy rootdev guessing */ 172 switch(rootdev [all...] |
H A D | bioscd.c | 366 int rootdev; local 387 rootdev = MAKEBOOTDEV(major, 0, unit, 0); 388 DEBUG("dev is 0x%x\n", rootdev); 389 return(rootdev);
|
H A D | bootinfo64.c | 184 struct i386_devdesc *rootdev; local 201 * Allow the environment variable 'rootdev' to override the supplied device 202 * This should perhaps go to MI code and/or have $rootdev tested/set by 205 rootdevname = getenv("rootdev"); 206 i386_getdev((void **)(&rootdev), rootdevname, NULL); 207 if (rootdev == NULL) { /* bad $rootdev/$currdev */ 213 getrootmount(i386_fmtdev((void *)rootdev));
|
H A D | biosdisk.c | 641 int rootdev; local 681 rootdev = MAKEBOOTDEV(major, dev->d_slice + 1, unit, dev->d_partition); 682 DEBUG("dev is 0x%x\n", rootdev); 683 return(rootdev);
|
/freebsd-10.3-release/sys/boot/userboot/userboot/ |
H A D | bootinfo32.c | 138 struct i386_devdesc *rootdev; local 154 * Allow the environment variable 'rootdev' to override the supplied device 155 * This should perhaps go to MI code and/or have $rootdev tested/set by 158 rootdevname = getenv("rootdev"); 159 userboot_getdev((void **)(&rootdev), rootdevname, NULL); 160 if (rootdev == NULL) { /* bad $rootdev/$currdev */ 166 getrootmount(userboot_fmtdev((void *)rootdev)); 171 printf("root device %s invalid\n", i386_fmtdev(rootdev)); 175 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-10.3-release/sys/boot/ia64/common/ |
H A D | bootinfo.c | 212 struct devdesc *rootdev; local 224 * Allow the environment variable 'rootdev' to override the supplied 225 * device. This should perhaps go to MI code and/or have $rootdev 228 rootdevname = getenv("rootdev"); 229 ia64_getdev((void**)&rootdev, rootdevname, NULL); 230 if (rootdev != NULL) { 232 getrootmount(ia64_fmtdev(rootdev)); 233 free(rootdev);
|
/freebsd-10.3-release/sys/boot/pc98/libpc98/ |
H A D | bioscd.c | 357 int rootdev; local 376 rootdev = MAKEBOOTDEV(major, 0, unit, 0); 377 DEBUG("dev is 0x%x\n", rootdev); 378 return(rootdev);
|
H A D | biosdisk.c | 1030 int rootdev; local 1081 rootdev = MAKEBOOTDEV(major, dev->d_kind.biosdisk.slice + 1, unit, 1083 DEBUG("dev is 0x%x\n", rootdev); 1084 return(rootdev);
|
/freebsd-10.3-release/sys/arm/include/ |
H A D | atags.h | 65 uint32_t rootdev; member in struct:arm_lbabi_core
|
/freebsd-10.3-release/sys/boot/arm/at91/libat91/ |
H A D | tag_list.c | 57 tagList->u.core.rootdev = 0xff;
|
/freebsd-10.3-release/sys/boot/efi/loader/ |
H A D | bootinfo.c | 327 struct devdesc *rootdev; local 339 * Allow the environment variable 'rootdev' to override the supplied 340 * device. This should perhaps go to MI code and/or have $rootdev 343 rootdevname = getenv("rootdev"); 344 archsw.arch_getdev((void**)(&rootdev), rootdevname, NULL); 345 if (rootdev == NULL) { 351 getrootmount(efi_fmtdev((void *)rootdev));
|
/freebsd-10.3-release/sys/boot/common/ |
H A D | boot.c | 296 * Try to find the /etc/fstab file on the filesystem (rootdev), 306 getrootmount(char *rootdev) argument 315 sprintf(lbuf, "%s/etc/fstab", rootdev);
|
H A D | bootstrap.h | 81 int getrootmount(char *rootdev);
|