mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.6.28-rc2 - strange (redundant) sysfs paths for SCSI
@ 2008-10-29 18:05 Andrey Borzenkov
  2008-10-30 21:17 ` Kay Sievers
  0 siblings, 1 reply; 2+ messages in thread
From: Andrey Borzenkov @ 2008-10-29 18:05 UTC (permalink / raw)
  To: linux-scsi; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1196 bytes --]

Running with PATA driver:

/sys/devices/pci0000:00/0000:00:04.0/host0/scsi_host/host0
/sys/devices/pci0000:00/0000:00:04.0/host0/target0:0:0/0:0:0:0

well, in both cases at least one component is redundant? Also
the intermediate nodes (scsi_host and target0:0:0) do not seem
to contain any useful information at all?

I noticed this because kernel installer in Mandriva started to
complaint about host* and target* device nodes under /sys/bus/scsi/devices:

lrwxrwxrwx 1 root root 0 2008-10-29 19:58 0:0:0:0 -> ../../../devices/pci0000:00/0000:00:04.0/host0/target0:0:0/0:0:0:0/
lrwxrwxrwx 1 root root 0 2008-10-29 19:58 1:0:0:0 -> ../../../devices/pci0000:00/0000:00:04.0/host1/target1:0:0/1:0:0:0/
lrwxrwxrwx 1 root root 0 2008-10-29 19:58 host0 -> ../../../devices/pci0000:00/0000:00:04.0/host0/
lrwxrwxrwx 1 root root 0 2008-10-29 19:58 host1 -> ../../../devices/pci0000:00/0000:00:04.0/host1/
lrwxrwxrwx 1 root root 0 2008-10-29 19:58 target0:0:0 -> ../../../devices/pci0000:00/0000:00:04.0/host0/target0:0:0/
lrwxrwxrwx 1 root root 0 2008-10-29 19:58 target1:0:0 -> ../../../devices/pci0000:00/0000:00:04.0/host1/target1:0:0/

It is really not quite clear what use they have.

TIA

-andrey

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-10-30 21:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-29 18:05 2.6.28-rc2 - strange (redundant) sysfs paths for SCSI Andrey Borzenkov
2008-10-30 21:17 ` Kay Sievers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®