]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
config(8): Flip the order of concatenation for `hints` and `env`
authorKyle Evans <kevans@FreeBSD.org>
Tue, 26 Jun 2018 04:02:25 +0000 (04:02 +0000)
committerKyle Evans <kevans@FreeBSD.org>
Tue, 26 Jun 2018 04:02:25 +0000 (04:02 +0000)
commit6ffdd5ef2f196916525182b2c178db73562e510d
tree07c57da365b7629cbb88aa346b765a1e8c7d1895
parent4edfa9085a02d054921630437845e457fdc1ef4f
config(8): Flip the order of concatenation for `hints` and `env`

As previously noted, kernel's processing of these means that the first
appearance of a hint/variable wins. Flipping the order of concatenation
means that later variables override earlier variables, as expected when one
does:

hints x
hints y

Where perhaps x is:

hint.aw_sid.0.disable=1

and y is:

hint.aw_sid.0.disable=0

The expectation would be that a later appearing variable would override an
earlier appearing variable, such as with `device`/`nodevice`, device.hints,
and other similarly structured data files.
usr.sbin/config/config.5
usr.sbin/config/config.y