[PATCH] add sysfs attr to re-emit device hotplug event
authorKay Sievers <kay.sievers@suse.de>
Sat, 1 Oct 2005 12:49:43 +0000 (14:49 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 28 Oct 2005 16:52:51 +0000 (09:52 -0700)
commita7fd67062efc5b0fc9a61368c607fa92d1d57f9e
tree8b91f198640608bd99f4e4764394e5134220abcf
parentd8539d81aeee4dbdc0624a798321e822fb2df7ae
[PATCH] add sysfs attr to re-emit device hotplug event

A "coldplug + udevstart" can be simple like this:
  for i in /sys/block/*/*/uevent; do echo 1 > $i; done
  for i in /sys/class/*/*/uevent; do echo 1 > $i; done
  for i in /sys/bus/*/devices/*/uevent; do echo 1 > $i; done

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/class.c
drivers/base/core.c
drivers/block/genhd.c
fs/partitions/check.c
include/linux/device.h
include/linux/genhd.h