Re: IDE drives with > 65535 cylinders

From: Rogier Wolff (R.E.Wolff@BitWizard.nl)
Date: Wed Jan 19 2000 - 04:07:20 EST


Guest section DW wrote:
> Of course the idea is that we want to get rid of everything that
> reminds of disk geometry - it is a concept of the past.
> Now that HDIO_GETGEO is broken, instead of repairing it we just
> eliminate all places where it was used.]

Might I suggest that the kernel prints

        if (drive->cylinders > 65536) {
                printk (" Warning!! HDIO_GETGEO called on drive with > 65536 cyls. (Use cfdisk instead)\n");
                /* Set return cylinders to 65536. */

        }

                        Roger.

-- 
** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2137555 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
 "I didn't say it was your fault. I said I was going to blame it on you."

- 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 Jan 23 2000 - 21:00:19 EST