Re: Support HDIO_GETGEO on device-mapper volumes
- From: Molle Bestefich <molle.bestefich@xxxxxxxxx>
- Date: Fri, 10 Feb 2006 20:27:28 +0000
Phillip Susi wrote:
Yes, I think this could also be fixed on grub's end. It seems that
fdisk assumes usable default values for the geometry but grub has
different defaults that cause it problems. I think that the defaults
could be modified in grub so that it will work when HDIO_GETGEO fails.
It would be better to make the decision once and for all, in one place.
It would be even better for the HDIO_GETGEO call to return the same
geometry that the BIOS uses, so that Grub is handed numbers that
actually mean *something*.
When 'dmraid' has assembled an array, it should find the matching BIOS
drive in /proc/bios/int13_dev* and then it should tell device-mapper
to present that geometry to whomever asks via HDIO_GETGEO.
And while we're at it, <some component> should do the same for eg.
/dev/hd?. It's very annoying trying to fix up a harddrive's partition
table when the numbers you see in Linux is different to the numbers
you'll see when rebooting into DOS, or Windows XP, or whatever it is
that's on the disk you're trying to fix.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: Support HDIO_GETGEO on device-mapper volumes
- From: Phillip Susi
- Re: Support HDIO_GETGEO on device-mapper volumes
- References:
- [PATCH] Support HDIO_GETGEO on device-mapper volumes
- From: Darrick J. Wong
- Re: [PATCH] Support HDIO_GETGEO on device-mapper volumes
- From: Alasdair G Kergon
- Re: [PATCH] Support HDIO_GETGEO on device-mapper volumes
- From: Phillip Susi
- [PATCH] Support HDIO_GETGEO on device-mapper volumes
- Prev by Date: 2.6.16-rc2-mm1 - BUG: unable to handle kernel NULL pointer dereference at virtual address 0000003a
- Next by Date: Re: [RFC][PATCH 04/20] pspace: Allow multiple instaces of the process id namespace
- Previous by thread: Re: [PATCH] Support HDIO_GETGEO on device-mapper volumes
- Next by thread: Re: Support HDIO_GETGEO on device-mapper volumes
- Index(es):
Relevant Pages
|