Hi all,
I have been experimenting a little with what Windows / Linux 2.4 / Linux
2.6 think the geometry of a couple of HDs is and the results are not
very promising. )-:
Using Linux 2.4, HDIO_GETGEO ioctl, I get the same Heads and Sectors per
Track as Windows on both HDs I tried it on. This is the good news.
I.e. at least on those two disks mkntfs as it stands now would create
Windows bootable partitions.
The bad news is that Linux 2.4, HDIO_GETGEO ioctl returns wrong values
for both HDs. (It said Heads were 16 both time when Linux 2.4 said 255
for one of the HDs and 128 for the other.)
So while mkntfs will work at the moment in a few months/years time it
will probably never work any more without user specified geometry. )-:
I have unfortunately not found _any_ way to get the values returned by
Linux 2.4 / Windows on a Linux 2.6 system and I tried looking in
/proc/ide, using hdparm, and using . )-:
This is very annoying to say the least. )-:
Any ideas?
Of course, this all might have been coincidence and someone else testing
a different set of two HDs might find the opposite.
What we really want to know is how Windows determines the geometry?
Anyone know?
Best regards,
Anton
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer / IRC: #ntfs on irc.freenode.net
WWW: http://linux-ntfs.sf.net/ &
http://www-stu.christs.cam.ac.uk/~aia21/
|