This patch implements an option '-u' which uses the information from the program environment when checking the device.
the function don't be found some problems.
Whiling using the command 'udevadm
test /sys/block/sdb', some error logs,
such as/sbin/multipath -u sdb'(err)
So I don't know what is that? Is
it a potential risk ? Thanks a lots.
udev_rules_apply_to_event: PROGRAM '/sbin/multipath -u sdb' /lib/udev/rules.d/95-multipath.rules:20
udev_event_spawn: starting '/sbin/multipath -u sdb'
spawn_read: '/sbin/multipath -u sdb'(err) 'libudev: udev_device_new_from_syspath: device 0x55ee912a0b50 has devpath '/devices/platform/host72/session70/target72:0:0/72:0:0:0''
spawn_read: '/sbin/multipath -u sdb'(err) 'libudev: udev_device_new_from_syspath: device 0x55ee912a1ee0 has devpath '/devices/platform/host72/session70/target72:0:0''
spawn_read: '/sbin/multipath -u sdb'(err) 'libudev: udev_device_new_from_syspath: device 0x55ee912a2980 has devpath '/devices/platform/host72/session70''
spawn_read: '/sbin/multipath -u sdb'(err) 'libudev: udev_device_new_from_syspath: device 0x55ee912a1b70 has devpath '/devices/platform/host72''
spawn_read: '/sbin/multipath -u sdb'(err) 'libudev: udev_device_new_from_syspath: device 0x55ee912a4230 has devpath '/devices/platform''
spawn_read: '/sbin/multipath -u sdb'(err) 'libudev: udev_device_new_from_syspath: device 0x55ee912a2f90 has devpath '/devices/platform/host72/session70/iscsi_session/session70''
spawn_read: '/sbin/multipath -u sdb'(out) 'sdb is a valid multipath device path'
spawn_wait: '/sbin/multipath -u sdb' [42931] exit with return code 0
udev_event_spawn: starting '/sbin/multipath -u sdb'
spawn_read: '/sbin/multipath -u sdb'(err) 'libudev: udev_device_new_from_syspath: device 0x55ee912a0b50 has devpath '/devices/platform/host72/session70/target72:0:0/72:0:0:0''
spawn_read: '/sbin/multipath -u sdb'(err) 'libudev: udev_device_new_from_syspath: device 0x55ee912a1ee0 has devpath '/devices/platform/host72/session70/target72:0:0''
spawn_read: '/sbin/multipath -u sdb'(err) 'libudev: udev_device_new_from_syspath: device 0x55ee912a2980 has devpath '/devices/platform/host72/session70''
spawn_read: '/sbin/multipath -u sdb'(err) 'libudev: udev_device_new_from_syspath: device 0x55ee912a1b70 has devpath '/devices/platform/host72''
spawn_read: '/sbin/multipath -u sdb'(err) 'libudev: udev_device_new_from_syspath: device 0x55ee912a4230 has devpath '/devices/platform''
spawn_read: '/sbin/multipath -u sdb'(err) 'libudev: udev_device_new_from_syspath: device 0x55ee912a2f90 has devpath '/devices/platform/host72/session70/iscsi_session/session70''
spawn_read: '/sbin/multipath -u sdb'(out) 'sdb is a valid multipath device path'
spawn_wait: '/sbin/multipath -u sdb' [42931] exit with return code 0
zhangguanghui
本邮件及其附件含有杭州华三通信技术有限公司的保密信息,仅限于发送给上面地址中列出
的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、
或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本
邮件!
This e-mail and its attachments contain confidential information from H3C, which is
intended only for the person or entity whose address is listed above. Any use of the
information contained herein in any way (including, but not limited to, total or partial
disclosure, reproduction, or dissemination) by persons other than the intended
recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender
by phone or email immediately and delete it!
-- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel