diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2016-03-09 19:36:25 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2016-03-09 19:36:25 +0000 |
commit | c3d1c73fa974ea8bffba0c22aac1dfbf5c43c815 (patch) | |
tree | f874cba5c610c7249d94a94431172ae1835eed15 /sys/modules/md/Makefile | |
parent | 8d91aced326483b253f01e588edca8cc335a04a0 (diff) |
For the MD_ROOT option don't inject /dev/md0 as root dev when ROOTDEVNAME
is defined explicitly. It's kinda pointless and results in extra step in
boot sequence which is not really needed, i.e.:
md0: Embedded image 1331200 bytes at 0x8038b7b4
Trying to mount root from ufs:/dev/md0 []...
Mounting from ufs:/dev/md0 failed with error 22.
Trying to mount root from ufs:md0.uzip []...
warning: no time-of-day clock registered, system time will not be set accurately
start_init: trying /sbin/init
Notes
Notes:
svn path=/head/; revision=296574
Diffstat (limited to 'sys/modules/md/Makefile')
-rw-r--r-- | sys/modules/md/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/modules/md/Makefile b/sys/modules/md/Makefile index 19851e648ead..db2cd6739283 100644 --- a/sys/modules/md/Makefile +++ b/sys/modules/md/Makefile @@ -3,6 +3,6 @@ .PATH: ${.CURDIR}/../../dev/md KMOD= geom_md -SRCS= md.c opt_md.h opt_geom.h vnode_if.h +SRCS= md.c opt_md.h opt_geom.h opt_rootdevname.h vnode_if.h .include <bsd.kmod.mk> |