Files
Ayush Ranjan 19fbea7bb8 Create /dev/char and /dev/block symlinks in devtmpfs
On Linux, udev maintains /dev/char/<major>:<minor> and
/dev/block/<major>:<minor> symlinks to all device nodes it manages.
Applications open devices by device number through these symlinks; e.g.
rdma-core uses /dev/char to locate uverbs device nodes from the device
numbers advertised in sysfs.

There is no udev in the sandbox, so create these symlinks when device
files are created in devtmpfs. This covers both sentry-registered
devices and devices injected via the OCI runtime spec.
2026-08-06 21:37:11 +00:00
..