/illumos-gate/usr/src/cmd/boot/scripts/ |
H A D | update_grub.ksh | 100 for rootdev in $rootdevlist 102 echo /dev/rdsk/`basename $rootdev` 136 for rootdev in $grubdevlist 141 -R "$ALT_ROOT"/stubboot -o $rootdev,"$ALT_ROOT" 145 $zfsarg -o $rootdev 147 print "Installing grub on $rootdev" 148 "$ALT_ROOT"/sbin/installgrub $STAGE1 $STAGE2 $rootdev
|
/illumos-gate/usr/src/boot/i386/libi386/ |
H A D | bootinfo32.c | 137 struct i386_devdesc *rootdev; in bi_load32() local 157 i386_getdev((void **)(&rootdev), rootdevname, NULL); in bi_load32() 158 if (rootdev == NULL) { /* bad $rootdev/$currdev */ in bi_load32() 164 getrootmount(i386_fmtdev((void *)rootdev)); in bi_load32() 171 switch(rootdev->dd.d_dev->dv_type) { in bi_load32() 175 bi.bi_bios_dev = bd_unit2bios(rootdev); in bi_load32() 176 bootdevnr = bd_getdev(rootdev); in bi_load32() 185 rootdev->dd.d_dev->dv_type); in bi_load32() 188 printf("root device %s invalid\n", i386_fmtdev(rootdev)); in bi_load32() 191 free(rootdev); in bi_load32()
|
H A D | bootinfo64.c | 143 struct i386_devdesc *rootdev; in bi_load64() local 165 i386_getdev((void **)(&rootdev), rootdevname, NULL); in bi_load64() 166 if (rootdev == NULL) { /* bad $rootdev/$currdev */ in bi_load64() 172 getrootmount(i386_fmtdev((void *)rootdev)); in bi_load64()
|
H A D | multiboot.c | 240 struct devdesc *rootdev; in multiboot_exec() local 266 i386_getdev((void **)(&rootdev), NULL, NULL); in multiboot_exec() 267 if (rootdev == NULL) { in multiboot_exec() 317 error = mb_kernel_cmdline(mfp, rootdev, &cmdline); in multiboot_exec() 423 if ((error = mb_kernel_cmdline(fp, rootdev, &cmdline)) != 0) in multiboot_exec()
|
H A D | linux.c | 286 struct i386_devdesc *rootdev; in linux_exec() local 295 i386_getdev((void **)(&rootdev), fp->f_name, NULL); in linux_exec() 296 if (rootdev != NULL) in linux_exec() 297 relocator_edx = bd_unit2bios(rootdev); in linux_exec()
|
H A D | biosdisk.c | 1305 int rootdev; in bd_getdev() local 1371 rootdev = MAKEBOOTDEV(major, slice, unit, partition); in bd_getdev() 1372 DPRINTF("dev is 0x%x\n", rootdev); in bd_getdev() 1373 return (rootdev); in bd_getdev()
|
/illumos-gate/usr/src/boot/i386/loader/ |
H A D | chain.c | 49 struct i386_devdesc *rootdev; in command_chain() local 83 i386_getdev((void **)(&rootdev), argv[1], NULL); in command_chain() 84 if (rootdev == NULL) { in command_chain() 108 relocator_edx = bd_unit2bios(rootdev); in command_chain()
|
/illumos-gate/usr/src/boot/efi/loader/arch/i386/ |
H A D | bootinfo.c | 214 struct devdesc *rootdev; in bi_load() local 228 i386_getdev((void**)&rootdev, rootdevname, NULL); in bi_load() 229 if (rootdev != NULL) { in bi_load() 231 getrootmount(i386_fmtdev(rootdev)); in bi_load() 232 free(rootdev); in bi_load()
|
/illumos-gate/usr/src/boot/efi/loader/ |
H A D | bootinfo.c | 342 struct devdesc *rootdev; in bi_load() local 378 archsw.arch_getdev((void**)(&rootdev), rootdevname, NULL); in bi_load() 379 if (rootdev == NULL) { in bi_load() 385 getrootmount(efi_fmtdev((void *)rootdev)); in bi_load()
|
/illumos-gate/usr/src/boot/common/ |
H A D | multiboot2.c | 587 mb_kernel_cmdline(struct preloaded_file *fp, struct devdesc *rootdev, in mb_kernel_cmdline() argument 614 if (rootdev->d_dev->dv_type == DEVT_ZFS) in mb_kernel_cmdline() 634 fs = zfs_bootfs(rootdev); in mb_kernel_cmdline() 837 struct devdesc *rootdev; in multiboot2_exec() local 852 efi_getdev((void **)(&rootdev), NULL, NULL); in multiboot2_exec() 874 i386_getdev((void **)(&rootdev), NULL, NULL); in multiboot2_exec() 883 if (rootdev == NULL) { in multiboot2_exec() 902 error = mb_kernel_cmdline(fp, rootdev, &cmdline); in multiboot2_exec()
|
H A D | boot.c | 301 getrootmount(char *rootdev) in getrootmount() argument 310 sprintf(lbuf, "%s/etc/fstab", rootdev); in getrootmount()
|
H A D | bootstrap.h | 63 int getrootmount(char *rootdev);
|
H A D | help.common | 304 set rootdev=<path> 308 $rootdev explicitly.
|
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/ |
H A D | setup.c | 110 dev_t rootdev; in setup() local 118 rootdev = statb.st_dev; in setup() 141 if (rootdev == statb.st_rdev) in setup() 222 if (rootdev == statb.st_rdev) in setup()
|
/illumos-gate/usr/src/cmd/nsadmin/ |
H A D | system | 56 * rootdev: Set the root device. This should be a fully 64 * rootdev:/sbus@1,f8000000/esp@0,800000/sd@3,0:a
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | space.c | 112 dev_t rootdev; /* dev_t of the root device */ variable
|
H A D | swapgeneric.c | 219 rootdev = rootvfs->vfs_dev; in rootconf()
|
/illumos-gate/usr/src/uts/common/fs/hsfs/ |
H A D | hsfs_vfsops.c | 1463 dev_t rootdev; in hsfs_mountroot() local 1469 rootdev = getrootdev(); in hsfs_mountroot() 1470 if (rootdev == (dev_t)NODEV) in hsfs_mountroot() 1472 vfsp->vfs_dev = rootdev; in hsfs_mountroot() 1486 error = hs_mountfs(vfsp, rootdev, "/", mode, 1, CRED(), 1); in hsfs_mountroot()
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_vfsops.c | 472 dev_t rootdev; in ufs_mountroot() local 482 rootdev = getrootdev(); in ufs_mountroot() 483 if (rootdev == (dev_t)NODEV) in ufs_mountroot() 485 vfsp->vfs_dev = rootdev; in ufs_mountroot() 499 rootdev = vfsp->vfs_dev; in ufs_mountroot() 534 devvp = makespecvp(rootdev, VBLK); in ufs_mountroot()
|
/illumos-gate/usr/src/uts/common/fs/udfs/ |
H A D | udf_vfsops.c | 549 dev_t rootdev; in udf_mountroot() local 559 rootdev = getrootdev(); in udf_mountroot() 560 if (rootdev == (dev_t)NODEV) { in udf_mountroot() 563 vfsp->vfs_dev = rootdev; in udf_mountroot() 576 rootdev = vfsp->vfs_dev; in udf_mountroot() 589 error = ud_mountfs(vfsp, why, rootdev, "/", CRED(), 1); in udf_mountroot()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | systm.h | 95 extern dev_t rootdev; /* device of the root */
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | startup.c | 2335 extern dev_t rootdev; in release_bootstrap() 2387 root_is_ramdisk = (getmajor(rootdev) == ddi_name_to_major("ramdisk")); in release_bootstrap()
|
/illumos-gate/usr/src/uts/common/fs/ |
H A D | vfs.c | 4589 rootdev = rootvfs->vfs_dev; in rootconf()
|