lkml.org 
[lkml]   [2001]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] adding PCI bus information to SCSI layer
    Jonathan Lundell writes:
    > At 3:59 PM -0600 4/24/01, Richard Gooch wrote:
    > >The plan I have (which I hope to get started on soon, now that I'm
    > >back from travels), is to change /dev/scsi/host# from a directory into
    > >a symbolic link to a directory called: /dev/bus/pci0/slot1/function0.
    > >Thus, to access a partition via location, one would use the path:
    > >/dev/bus/pci0/slot1/function0/bus0/target1/lun2/part3.
    >
    > A minor PCI terminology point: PCI buses are subdivided into
    > devices, not (necessarily) slots. So, for example, a multiple-device
    > PCI card (say, two SCSI controllers) might have a PCI bridge
    > creating a new bus, and two devices (not slots) on that bus. (It
    > could alternatively be implemented as a single device with two
    > functions, given a dual-interface chip, but not necessarily.)
    >
    > So a better name would be
    > /dev/bus/pci0/dev1/fcn0/bus0/tgt1/lun2/part3 (taking the liberty of
    > abbreviating some of the other names).

    Sure. I haven't made a decision on the names yet. I was just sketching
    out the idea.

    > How, if at all, would RAID devices, using more than one physical
    > device, or SCSI bus, or PCI card, fit into this naming scheme?

    Same as it does now. There's the underlying devices, and then the meta
    devices, which are under /dev/md.

    BTW: please fix your mailer to do linewrap at 72 characters. Your
    lines are hundreds of characters long, and that's hard to read.

    Regards,

    Richard....
    Permanent: rgooch@atnf.csiro.au
    Current: rgooch@ras.ucalgary.ca
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 12:52    [W:2.258 / U:0.168 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site