Re: scsi_sysfs_add_sdev(): uevent emission versus attribute creation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kay Sievers wrote:
On Fri, May 22, 2009 at 14:01, Stefan Richter <stefanr@xxxxxxxxxxxxxxxxx> wrote:
The sdev's attribute should already be there when
the disk's and partitions' symlinks are going to be created.
...
Maybe it can hook into:
  BUS_NOTIFY_ADD_DEVICE
to create the additional attributes?

That logic is in: drivers/base/core.c : 941.

Yes, this looks good.  I'll give it a try.
--
Stefan Richter
-=====-==--= -=-= =-==-
http://arcgraph.de/sr/
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux