Hi, You can do this by writing a user space program of accessing the device file of the hard disk in read write mode. Thank you Krishna Chaitanya -----Original Message----- From: kernelnewbies-bounce@xxxxxxxxxxxx [mailto:kernelnewbies-bounce@xxxxxxxxxxxx] On Behalf Of Rajat Jain Sent: Thursday, November 16, 2006 2:28 PM To: Vaibhav Nipunage Cc: kernelnewbies@xxxxxxxxxxxx Subject: Re: Finding hard disk sector > Hello Friends, > > I want to find first sector of the hard disk partation using C. Means detail > information of that hard disk ie what is start sector and end sector of the > partation. So that after finding that sector I can read/write on that > sector. > > Please help me. > Read and parse the MBR ... ! Thanks, Rajat -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/