On Sun, 9 Feb 2003, [Bug 1455] wrote: > https://qa.mandrakesoft.com/show_bug.cgi?id=1455 > > On one harddrive I have OS/2 installed and in DiskDrake it shows > NTFS for its partition type (which should be HPFS).
I didn't check diskdrake but I guess the problem is that the NTFS detection is done based only on partition type. However this is not enough since both NTFS and HPFS uses the same partition type id, 7. An NTFS partition could be detected reading 8 bytes at offset 3 (started from 0) from the boot sector and compared with "NTFS ". Szaka