Skip to main content

devtmpfs_create_device

Function devtmpfs_create_device 

Source
pub fn devtmpfs_create_device(
    kernel: &Kernel,
    device_metadata: DeviceMetadata,
) -> Result<(), Errno>
Expand description

Creates a device node in the devtmpfs filesystem.

This function executes the creation in a background thread and blocks the calling thread until the device node is fully created. This blocking behavior matches Linux.