Shesha Sreenivasamurthy writes: (Summary) Ok, I got to know what exactly is the problem ,,
Basically on my partition total sectors is not a muliple of 8 (Each sector = 512, 4096/512=8). Now the start of my read/write point WILL always be 1024 byte alligned in case of odd and even # of sectors becasue, Even number of sectors is trivial/obvious, but in case of odd # of sectors, when we do a SEEK_END it will always seek to the last EVEN sector of the disk.
Basically on my partition total sectors is not a muliple of 8 (Each sector = 512, 4096/512=8). Now the start of my read/write point WILL always be 1024 byte alligned in case of odd and even # of sectors becasue, Even number of sectors is trivial/obvious, but in case of odd # of sectors, when we do a SEEK_END it will always seek to the last EVEN sector of the disk.