From: Andrey Borzenkov <arvidjaar@mail.ru>
To: linux-scsi@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: 2.6.28-rc2 - strange (redundant) sysfs paths for SCSI
Date: Wed, 29 Oct 2008 21:05:39 +0300 [thread overview]
Message-ID: <200810292105.40220.arvidjaar@mail.ru> (raw)
[-- 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 --]
next reply other threads:[~2008-10-29 18:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-29 18:05 Andrey Borzenkov [this message]
2008-10-30 21:17 ` Kay Sievers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200810292105.40220.arvidjaar@mail.ru \
--to=arvidjaar@mail.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®