Changes to the SCSI sysfs tree

From: James Bottomley
Date: Fri Sep 10 2004 - 16:42:31 EST


The patches effecting the changes listed below are at

bk://linux-scsi.bkbits.net/scsi-target-2.6

Andrew, could you add this to the -mm tree so it gets some wide testing
before I submit it for inclusion in the kernel proper? Thanks...

What I'm actually doing is:

I'd like to change the layout of the SCSI sysfs tree to add a target
generic device. This is essential because we need to hang certainl
device class attributes off the target not replicate them throughout the
LUNs of the individual device.

This means that a current SCSI sysfs device like:

lrwxrwxrwx 1 root root 0 Sep 10 09:44 /sys/block/sda/device ->
../../devices/parisc8/parisc8:0/pci0000:00/0000:00:13.0/host0/0:0:5:0/

will instead become:

lrwxrwxrwx 1 root root 0 Sep 10 09:44 /sys/block/sda/device ->
../../devices/parisc8/parisc8:0/pci0000:00/0000:00:13.0/host0/target0:0:5/0:0:5:0/

(note the extra target).

James


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/