nvidia-container-toolkit/cmd/nvidia-cdi-hook/update-nvidia-params
Evan Lezar 62483b5779
Add a hook to update nvidia params
If required, this hook creates a modified params file (with ModifyDeviceFiles: 0) in a tmpfs
and mounts this over /proc/driver/nvidia/params.

This prevents device node creation when running tools such as nvidia-smi.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
2025-03-19 16:37:58 +02:00
..
mount_linux.go Add a hook to update nvidia params 2025-03-19 16:37:58 +02:00
mount_other.go Add a hook to update nvidia params 2025-03-19 16:37:58 +02:00
update-nvidia-params_test.go Add a hook to update nvidia params 2025-03-19 16:37:58 +02:00
update-nvidia-params.go Add a hook to update nvidia params 2025-03-19 16:37:58 +02:00