On Mon, Feb 28, 2011 at 11:51 AM, Lonnie Olson <[email protected]> wrote:
> There's a ton of information, that is symlinked all around, in /sys
>
> $ ls -l /sys/block/sd*/device
> lrwxrwxrwx 1 root root 0 2011-02-28 11:49 /sys/block/sda/device ->
> ../../../0:0:0:0
> lrwxrwxrwx 1 root root 0 2011-02-28 11:50 /sys/block/sdb/device ->
> ../../../1:0:1:0
>

Another possible example that might help.

$ ls -l /sys/block/dm-0/slaves/
lrwxrwxrwx 1 root root 0 2011-02-28 11:53 sdb2 ->
../../../../pci0000:00/0000:00:1f.2/host1/target1:0:1/1:0:1:0/block/sdb/sdb2

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to