]> git.ozlabs.org Git - petitboot/commitdiff
discover: Consolidate device path, name and ID.
authorJeremy Kerr <jk@ozlabs.org>
Wed, 18 Sep 2013 03:49:14 +0000 (11:49 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Thu, 19 Sep 2013 05:12:40 +0000 (13:12 +0800)
This change cleans up our usage of device path, names and IDs.

Device ID is the kernel name for the device. We also expose this through
lookup_by_name.

Device path is the path to the dev node (ie, always starts with /dev/),
and is only used for mounting.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>

No differences found