Home
last modified time | relevance | path

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

/freebsd-12.1/libexec/rc/rc.d/
H A Dgrowfs56 rootdev=${FSDEV#/dev/}
60 rootdev=$(zpool list -v $pool | awk 'END { print $1 }')
66 if [ x"$rootdev" = x"${rootdev%/*}" ]; then
68 rawdev="$rootdev"
70 rawdev=$(glabel status | awk '$1 == "'"$rootdev"'" { print $3 }')
72 echo "Can't figure out device for: $rootdev"
106 gpart commit "$rootdev"
109 growfs -y /dev/"$rootdev"
112 zpool online -e $pool $rootdev
/freebsd-12.1/stand/i386/libi386/
H A Dbootinfo32.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()
H A Dbootinfo64.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()
H A Dbiosdisk.c1248 int rootdev; in bd_getdev() local
1314 rootdev = MAKEBOOTDEV(major, slice, unit, partition); in bd_getdev()
1315 DEBUG("dev is 0x%x\n", rootdev); in bd_getdev()
1316 return (rootdev); in bd_getdev()
/freebsd-12.1/stand/i386/loader/
H A Dchain.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-12.1/stand/userboot/userboot/
H A Dbootinfo32.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()
H A Dbootinfo64.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-12.1/stand/efi/loader/
H A Dbootinfo.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()
H A Dmain.c465 char *rootdev; in find_currdev() local
471 rootdev = getenv("rootdev"); in find_currdev()
472 if (rootdev != NULL) { in find_currdev()
473 printf("Setting currdev to configured rootdev %s\n", rootdev); in find_currdev()
474 set_currdev(rootdev); in find_currdev()
/freebsd-12.1/stand/common/
H A Dboot.c318 getrootmount(char *rootdev) in getrootmount() argument
327 sprintf(lbuf, "%s/etc/fstab", rootdev); in getrootmount()
H A Dbootstrap.h65 int getrootmount(char *rootdev);
H A Dhelp.common285 set rootdev=<path>
289 $rootdev explicitly.
/freebsd-12.1/sys/arm/include/
H A Datags.h66 uint32_t rootdev; member
/freebsd-12.1/tools/tools/sysdoc/
H A Dtunables.mdoc1128 kern.rootdev