Skip to content
Commit ef3ba87c authored by Christopher Obbard's avatar Christopher Obbard Committed by Richard Weinberger
Browse files

um: ubd: Set device serial attribute from cmdline



Adds the ability to set the UBD device serial number from the
commandline, disabling the serial number functionality by default.

In some cases it may be useful to set a serial to the UBD device, such
that downstream users (i.e. udev) can use this information to better
describe the hardware to the user from the UML cmdline. In our case we
use this parameter to create some entries under /dev/disk/by-ubd-id/
for each of the UBD devices passed through the UML cmdline.

Signed-off-by: default avatarChristopher Obbard <chris.obbard@collabora.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 517f6020
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment