On Fri, May 22, 2009 at 14:01, Stefan Richter <stefanr@xxxxxxxxxxxxxxxxx> wrote: > For many years now, the sbp2 driver has been providing a host template > attribute which contains the SBP specific target identifier and logical unit > identifier. Userspace is taking this attribute to create the > /dev/disk/by-id symlink. > > That's obviously racy. The sdev's attribute should already be there when > the disk's and partitions' symlinks are going to be created. > How am I going to fix this? Maybe it can hook into: BUS_NOTIFY_ADD_DEVICE to create the additional attributes? That logic is in: drivers/base/core.c : 941. Kay -- 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