Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Oct 2013 21:28:15 +0000
From:      "Thomas Mueller" <>
Subject:   Disable devices at boot time?
Message-ID:  <9F.B4.02506.FE40F525@cdptpa-oedge01>

Next in thread | Raw E-Mail | Index | Archive | Help
Is there any way in FreeBSD to disable or enable devices on boot?

NetBSD has a flag -c (userconf) to boot that does this, if it works.

I tried it, but it immediately hung the computer, requiring Reset button.

Man page can be viewed at

Section on userconf is

    -c   Sets the RB_USERCONF flag in boothowto.  This causes the
                    kernel to enter the userconf(4) device configuration man-
                    ager as soon as possible during the boot.  userconf(4)
                    allows devices to be enabled or disabled, and allows
                    device locators (such as hardware addresses or bus num-
                    bers) to be modified before the kernel attempts to attach
                    the devices.


Want to link to this message? Use this URL: <>