Re: devfs

Richard Gooch (rgooch@atnf.CSIRO.AU)
Mon, 12 Jan 1998 09:17:23 +1100


James W. Laferriere Network Engineer writes:
>
> Hello all,
>
> On Sun, 11 Jan 1998, Michael Neuffer wrote:
> > On Sun, 11 Jan 1998, Richard Gooch wrote:
> > > > This allows then to stay compatible with their naming sheme but has the
> > > > drawback of dropping support for LUNs. This only works properly for the
> > > > special case of the SSAs since you only have disk drives in them.
> > > >
> > > > However I do not think that we should make the same mistake as them
> > > > and cut ourselves off from supporting multi LUN devices.
> > >
> > > Agreed! Considering this, I'm open to alternative naming schemes, but
> > > only if they preserve the information.
> >
> > The easiest would be to add a field so that it looks like the following:
> >
> > cCbBtTdDsS
> >
> > <C> == controller
> > <B> == bus/channel on controller
> > <T> == target (ID)
> > <D> == LUN
> > <S> == slice/partition
>
> Nit picking here. But, I would really like to see something
> that does not follow Sloaris's example. At least in the Char.s
> used to describe the meanings.
>
> cCbBdDlLpP < The next nit is that the 'l' looks like a One or an 'I'.
>
> <C> == Controller
> <B> == Bus/channel on controller
> <D> == Disk/target (ID)

They are SCSI targets/IDs, not discs, so "d" is misleading.

> <L> == Lun
> <P> == Partition/slice

What do you think about my original scheme:

sd_hHcCiIlLpP

<H> -> host controller
<C> -> SCSI channel/bus
<I> -> SCSI target ID
<L> -> LUN
<P> -> partition

eg:
/dev/sd_h0c0i3l0p2

If you don't like the "l", how about:

sd_hHcCiIdDpP

<H> -> host controller
<C> -> SCSI channel/bus
<I> -> SCSI target ID
<D> -> Device/LUN
<P> -> partition

eg:
/dev/sd_h0c0i3d0p2

Regards,

Richard....