Skip to content

Alias support #19

@lu-zero

Description

@lu-zero

See https://github.com/rust-italia/mdev/blob/master/src/bin/mdev.rs#L146

mdevd does this way

  • Expand aliases terminating in / by appending the kernel device name to it. e.g.: >alias/ -> >alias/nodename are equivalent.
  • Either replace the devname or create a symlink to it.
  • Support not creating the device.

Examples:

loop([0-9]+)       root:disk 660 >loop/%1
adsp        root:audio 660 >sound/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions