tools/hotplug: Write physical-device-path in addition to physical-device

Change block-common.sh on Linux to write physical-device-path with the
path of the device node, in addition to physical-device with its
major:minor numbers.

Signed-off-by: George Dunlap <george.dunlap@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Tested-by: George Dunlap <george.dunlap@citrix.com>
This commit is contained in:
George Dunlap authored and Ian Jackson committed 2016-04-04 17:48:25 +01:00
1 parent e885362ccb
commit fa88ffe2b4
1 file changed
+2 -1
+2 -1
View File
@@ -67,7 +67,8 @@ write_dev() {
fi
xenstore_write "$XENBUS_PATH/physical-device" "$mm"
xenstore_write "$XENBUS_PATH/physical-device-path" "$1"
success
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.