Re: devfs persistence

From: Richard Gooch (rgooch@ras.ucalgary.ca)
Date: Thu Apr 27 2000 - 23:51:17 EST


Matthew Jacob writes:
>
> > Right.
> >
> > > > We use labels to solve this.
> > >
> > > That's fine insofar as it goes, but if you have a naming schema that
> > > has a bus address as part of it, if the address can change
> > > dynamically, that can be an issue. I think that labels are a good
> > > idea- you end up not caring what address something is at. And UUIDs
> > > or other device unique information is good solid naming stuff.
> >
> > Why are you concerned about the naming scheme that depends on bus
> > addresses? I was talking about specifying labels. How do bus addresses
> > come into the picture?
>
> The naming scheme on your website doc encodes bus addresses, as in:
>
> ------------
>
> To uniquely identify any SCSI device requires the following information:
>
> controller (host adapter)
> bus (SCSI channel)
> target (SCSI ID)
> unit (Logical Unit Number)
>
> All SCSI devices are placed under /dev/scsi (assuming devfs is mounted on
> /dev). Hence, a SCSI device with the following parameters: c=1,b=2,t=3,u=4
> would appear as:
>
> /dev/scsi/host1/bus2/target3/lun4 device directory
>
>
> -----------
>
> This doesn't work so well if target can change, or the hierarchical
> lun space is in fact the SSC class hierarchical lun space which is
> four 16 bit values in a hierarchy.

Aaarrggghhh! But I already agreed that you want to mount by
label/UUID. And I said to trawl the archives for my plan to do this.

<bangs head on table>
So why are we still discussing mount-by-location?!?

                                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.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:14 EST