chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
1f70b08
)
udev: path_id - update comments
author
Kay Sievers
<kay@vrfy.org>
Thu, 30 Oct 2014 00:18:34 +0000
(
01:18
+0100)
committer
Kay Sievers
<kay@vrfy.org>
Thu, 30 Oct 2014 00:20:56 +0000
(
01:20
+0100)
src/udev/udev-builtin-path_id.c
patch
|
blob
|
history
diff --git
a/src/udev/udev-builtin-path_id.c
b/src/udev/udev-builtin-path_id.c
index 0d247f6b5a734da059b9e127bad37f3b05ccd036..df996cb17aca160fd4496b6769adf82a62f52826 100644
(file)
--- a/
src/udev/udev-builtin-path_id.c
+++ b/
src/udev/udev-builtin-path_id.c
@@
-548,9
+548,9
@@
static int builtin_path_id(struct udev_device *dev, int argc, char *argv[], bool
}
/*
}
/*
- * Do
return devices with have an unknown type of parent device, t
hey
- * might produce conflicting IDs
below multiple independent parent
- *
devices
.
+ * Do
not return devices with an unknown parent device type. T
hey
+ * might produce conflicting IDs
if the parent does not provide a
+ *
unique and predictable name
.
*/
if (!supported_parent) {
free(path);
*/
if (!supported_parent) {
free(path);
@@
-558,9
+558,9
@@
static int builtin_path_id(struct udev_device *dev, int argc, char *argv[], bool
}
/*
}
/*
- * Do not return
a have-only a single-parent block devices, s
ome
- *
have entire hidden buses behind it, and not create predictabl
e
- *
IDs
that way.
+ * Do not return
block devices without a well-known transport. S
ome
+ *
devices do not expose their buses and do not provide a uniqu
e
+ *
and predictable name
that way.
*/
if (streq(udev_device_get_subsystem(dev), "block") && !supported_transport) {
free(path);
*/
if (streq(udev_device_get_subsystem(dev), "block") && !supported_transport) {
free(path);