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-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux