Christoph Hellwig wrote:
On Wed, Jul 13, 2005 at 04:46:54PM -0700, Patrick Mansfield wrote:
Add or use the attributes under the scsi_device, then use the
/sysfs/block/sd/device symlink to find the corresponding scsi_device.
yupp, the /sys/block/* attributes are really only meant to be for
th
Add or use the attributes under the scsi_device, then use the
/sysfs/block/sd/device symlink to find the corresponding scsi_device.
Perfect! Thanks.
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at h
You should revisit your code to not need access to the scsi_device
structure, and follow the layering of the block and scsi subsystems.
Maybe I should explain what I'm trying to do here.
Some of our software reads some of the values in /proc/ide/hda/. We're
porting this facility to libata-b
Hi all; what's the proper way to get the scsi_device structure from a
gendisk structure? sd.c uses pointers through scsi_disk, but that
structure is private to sd.c. Will I need to add an access function in
sd.c or something?
-ed falk, [EMAIL PROTECTED]
-
To unsubscribe from this list: send
4 matches
Mail list logo