Home
last modified time | relevance | path

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

/freebsd-11-stable/etc/rc.d/
HDgrowfs52 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/libi386/
HDbootinfo32.c143 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()
HDbootinfo64.c188 struct i386_devdesc *rootdev; in bi_load64() local
210 i386_getdev((void **)(&rootdev), rootdevname, NULL); in bi_load64()
211 if (rootdev == NULL) { /* bad $rootdev/$currdev */ in bi_load64()
217 getrootmount(i386_fmtdev((void *)rootdev)); in bi_load64()
HDbiosdisk.c1297 int rootdev; in bd_getdev() local
1363 rootdev = MAKEBOOTDEV(major, slice, unit, partition); in bd_getdev()
1364 DEBUG("dev is 0x%x\n", rootdev); in bd_getdev()
1365 return (rootdev); in bd_getdev()
/freebsd-11-stable/stand/i386/loader/
HDchain.c61 struct i386_devdesc *rootdev; in command_chain() local
92 i386_getdev((void **)(&rootdev), argv[1], NULL); in command_chain()
93 if (rootdev == NULL) { in command_chain()
116 relocator_edx = bd_unit2bios(rootdev); in command_chain()
/freebsd-11-stable/stand/userboot/userboot/
HDbootinfo32.c142 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()
HDbootinfo64.c185 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-11-stable/stand/pc98/libpc98/
HDbioscd.c398 int rootdev; in bc_getdev() local
417 rootdev = MAKEBOOTDEV(major, 0, unit, 0); in bc_getdev()
418 DEBUG("dev is 0x%x\n", rootdev); in bc_getdev()
419 return(rootdev); in bc_getdev()
HDbiosdisk.c766 int rootdev; in bd_getdev() local
822 rootdev = MAKEBOOTDEV(major, dev->d_slice + 1, unit, dev->d_partition); in bd_getdev()
823 DEBUG("dev is 0x%x\n", rootdev); in bd_getdev()
824 return(rootdev); in bd_getdev()
/freebsd-11-stable/stand/efi/loader/
HDbootinfo.c429 struct devdesc *rootdev; in bi_load() local
465 archsw.arch_getdev((void**)(&rootdev), rootdevname, NULL); in bi_load()
466 if (rootdev == NULL) { in bi_load()
472 getrootmount(efi_fmtdev((void *)rootdev)); in bi_load()
HDmain.c296 char *rootdev; in find_currdev() local
298 rootdev = getenv("rootdev"); in find_currdev()
299 if (rootdev != NULL) { in find_currdev()
300 printf("Setting currdev to configured rootdev %s\n", rootdev); in find_currdev()
301 set_currdev(rootdev); in find_currdev()
/freebsd-11-stable/stand/common/
HDboot.c311 getrootmount(char *rootdev) in getrootmount() argument
320 sprintf(lbuf, "%s/etc/fstab", rootdev); in getrootmount()
HDbootstrap.h65 int getrootmount(char *rootdev);
HDhelp.common285 set rootdev=<path>
289 $rootdev explicitly.
/freebsd-11-stable/sys/arm/include/
HDatags.h65 uint32_t rootdev; member
/freebsd-11-stable/tools/tools/sysdoc/
HDtunables.mdoc1129 kern.rootdev