Re: Over 15 partitions on SCSI?

From: B. Galliart (bgallia@orion.it.luc.edu)
Date: Wed Jun 21 2000 - 20:09:37 EST


This, unfortantly, takes me back to Andries Brouwer's listing of changes
to the internal SCSI structures. As you can see below, devfs does not
extend the number of partitions supported:

  Partition check:
   /dev/scsi/host0/bus3/target0/lun0: p1 p2 p3 p4 < p5 p6 >
   /dev/scsi/host0/bus3/target0/lun1: p1 p2 p3 p4 < p5 p6 p7 p8 p9 p10 p11
   p12 p13 p14 p15 >

When mounting /dev/scsi/host0/bus3/target0/lun1/disc via rawfs, I'm still
left with only 15 partitions which are visable.

I agree with Goswin Brederlow, that devfs provides the right foundations
for doing this. Also, the devfs FAQ [1] does bring up that 6 bits should
be set aside for SCSI partitions. However, it does not seem to be
actually implimented. Rather, the present 2.2.16 devfs patch appears to
just provide an alternative naming method to the same structures.

So, is there anyone already working on large devfs SCSI addressing
structures similar to the ones stated in the devfs FAQ?

Thanks.

References:
[1] http://www.atnf.csiro.au/~rgooch/linux/docs/devfs.html#why-do-it

On 21 Jun 2000, Goswin Brederlow wrote:

> >>>>> " " == B Galliart <bgallia@orion.it.luc.edu> writes:
>
> > Is there any simple patch to get the kernel to report the full
> > partition table when using SCSI as it does with the IDE driver?
> > I do not need any additional device file support since using
> > rawfs I am mounting the entire drive (/dev/sdb), I just need
> > the kernel recognize the existence of additional partitions
> > beyond those addressable via device files.
>
> Try to use a kernel with devfs compiled in. I'm not sure whether that
> actually changes the major/minor splitting of scsi, but with that its
> easy to do it right, without messing around with the major/minors of
> the scsi subsystem (which could break other software).
>
> MfG
> Goswin

-
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 : Fri Jun 23 2000 - 21:00:23 EST