dropped on the way log time ago and nobody seems to care about..
https://forums.gentoo.org/viewtopic-t-1053170.html
so restored by.. me, as follow:
--- a/src/udev/udev-builtin-path_id.c 2022-06-14 02:44:42.000000000 +0300
+++ b/src/udev/udev-builtin-path_id.c 2022-11-27 11:58:38.190434094 +0200
@@ -390,6 +390,55 @@
return hostdev;
}
dropped on the way log time ago and nobody seems to care about.. https://forums.gentoo.org/viewtopic-t-1053170.html so restored by.. me, as follow: --- a/src/udev/udev-builtin-path_id.c 2022-06-14 02:44:42.000000000 +0300 +++ b/src/udev/udev-builtin-path_id.c 2022-11-27 11:58:38.190434094 +0200 @@ -390,6 +390,55 @@ return hostdev; }
+static struct udev_device handle_scsi_ata(struct udev_device parent, char path, char compat_path) {
static struct udev_device handle_scsi_hyperv(struct udev_device parent, char *path) { struct udev_device hostdev; struct udev_device *vmbusdev; @@ -426,7 +475,7 @@ return parent; }
-static struct udev_device handle_scsi(struct udev_device parent, char *path, bool supported_parent) { +static struct udev_device handle_scsi(struct udev_device parent, char path, char compat_path, bool supported_parent) { const char devtype; const char name; const char id; @@ -465,19 +514,8 @@ goto out; }
@@ -581,6 +619,7 @@ char *path = NULL; bool supported_transport = false; bool supported_parent = false;
_cleanupfree char *compat_path = NULL;
@@ -600,7 +639,7 @@ } else if (streq(subsys, "scsi_tape")) { handle_scsi_tape(parent, &path); } else if (streq(subsys, "scsi")) {
path_prepend(&compat_path, "scm-%s", udev_device_get_sysname(parent)); parent = skip_subsystem(parent, "scm"); supported_transport = true; supported_parent = true; @@ -694,10 +743,16 @@
return 0; }
const struct udev_builtin udev_builtin_path_id = {
in order to be shipped in next version of eudev