git: kernel - Remove kernel 'bootdev' variable

Matthew Dillon dillon at
Sat Sep 9 10:23:10 PDT 2017

commit 8840cec90a57df5e7c0f84c3c3c1e9abea7f2632
Author: Matthew Dillon <dillon at>
Date:   Sat Sep 9 10:20:22 2017 -0700

    kernel - Remove kernel 'bootdev' variable
    * The 'bootdev' variable is no longer used.  It used to default-out the
      root mount to UFS using boot device info passed-in from the boot code,
      but that was disconnected long ago and this code no longer serves
      any purpose.
    * We have depended on vfs.root.mountfrom in /boot/loader.conf to tell
      the kernel where the root mount is for a long time now.

Summary of changes:
 sys/platform/pc64/x86_64/autoconf.c      | 100 -------------------------------
 sys/platform/pc64/x86_64/machdep.c       |   4 --
 sys/platform/vkernel64/x86_64/autoconf.c |  98 ------------------------------
 sys/vfs/hammer2/hammer2_bulkfree.c       |   1 -
 4 files changed, 203 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list