Re: [Fwd: Hard disk geometry]

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 22 Oct 1999 12:04:19 +0100 (BST)


> Methinks there should be some interface for getting the geometry
> as DOS sees it from the linux kernel with some ugly ioctl, or
> something. I know this is a Bad Thing TM, but are there any
> other alternatives?

If you are re-partitioning you can read the partition geometry off the existing
partition table then sanity check it.

Alan

-
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/