int13 use to retrive harddrive parameters
I am porting a DOS utility to linux.
DOS code uses, int13.
I used ioctl() in linux code. (with HDIO_GETGEO).
The number of cylinders retrieved by DOS and linux differs.
The harddrive has more than 1024 cylinders.
Can I use the same int13 calls in linux? or is there any other way
in linux so that number of cylinders retrived is same as that in DOS?