diff options
author | Lennart Poettering <lennart@poettering.net> | 2023-11-10 16:11:12 +0100 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2023-11-13 20:32:34 +0100 |
commit | abc19a6ffaa94893ffc40cc000e5bb4437f67656 (patch) | |
tree | 5566c41ae2d45f9bc66f76a24f1fd513b7e8a8db /docs | |
parent | Merge pull request #30016 from dtardon/udevadm-control-p-test (diff) | |
download | systemd-abc19a6ffaa94893ffc40cc000e5bb4437f67656.tar.xz systemd-abc19a6ffaa94893ffc40cc000e5bb4437f67656.zip |
storagetm: expose more useful metadata for nvme block devices
don't let the devices to be announced just as model "Linux". Let's instead
propagate the underlying block device's model. Also do something
reasonably smart for the serial and firmware version fields.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/ENVIRONMENT.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/ENVIRONMENT.md b/docs/ENVIRONMENT.md index 56e79b9384..534490e0e0 100644 --- a/docs/ENVIRONMENT.md +++ b/docs/ENVIRONMENT.md @@ -583,3 +583,14 @@ SYSTEMD_HOME_DEBUG_SUFFIX=foo \ * `$SYSTEMD_FIREWALL_BACKEND` – takes a string, either `iptables` or `nftables`. Selects the firewall backend to use. If not specified tries to use `nftables` and falls back to `iptables` if that's not available. + +`systemd-storagetm`: + +* `$SYSTEMD_NVME_MODEL`, `$SYSTEMD_NVME_FIRMWARE`, `$SYSTEMD_NVME_SERIAL`, + `$SYSTEMD_NVME_UUID` – these take a model string, firmware version string, + serial number string, and UUID formatted as string. If specified these + override the defaults exposed on the NVME subsystem and namespace, which are + derived from the underlying block device and system identity. Do not set the + latter two via the environment variable unless `systemd-storagetm` is invoked + to expose a single device only, since those identifiers better should be kept + unique. |