extras: path_id - add comment about readdir() rebase logic
diff --git a/src/udev-builtin-path_id.c b/src/udev-builtin-path_id.c
index 5de7219..a8559d2 100644
--- a/src/udev-builtin-path_id.c
+++ b/src/udev-builtin-path_id.c
@@ -265,6 +265,11 @@
i = strtoul(&dent->d_name[4], &rest, 10);
if (rest[0] != '\0')
continue;
+ /*
+ * find the smallest number; the host really needs to export its
+ * own instance number per parent device; relying on the global host
+ * enumeration and plainly rebasing the numbers sounds unreliable
+ */
if (basenum == -1 || i < basenum)
basenum = i;
}