From: Xin Li <[email protected]> String "Location In Chassis" is part of the base board information, and is available from "dmidecode -t2", but it can't be fetched from -s option directly. This commit closes this gap.
Signed-off-by: Xin Li <[email protected]> --- v2: add commit message. --- dmiopt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dmiopt.c b/dmiopt.c index 2f285f3..6d53c7e 100644 --- a/dmiopt.c +++ b/dmiopt.c @@ -162,6 +162,7 @@ static const struct string_keyword opt_string_keyword[] = { { "baseboard-version", 2, 0x06 }, { "baseboard-serial-number", 2, 0x07 }, { "baseboard-asset-tag", 2, 0x08 }, + { "baseboard-location-in-chassis", 2, 0x0A }, { "chassis-manufacturer", 3, 0x04 }, { "chassis-type", 3, 0x05 }, /* dmi_chassis_type() */ { "chassis-version", 3, 0x06 }, -- 2.11.0 _______________________________________________ https://lists.nongnu.org/mailman/listinfo/dmidecode-devel
