do you mean reading disk block from an ext2 formated disk partition? open the device file e.g. /dev/sda1 and read the desired block!! Rajat On Sat, Feb 19, 2011 at 4:09 PM, kashish bhatia <koolest77@xxxxxxxxx> wrote: > Hi All, > > Does anybody know a function which can be used to read the data of disk > block in ext2 fs? > -- > Regards, > Kashish > > > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies@xxxxxxxxxxxxxxxxx > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > > _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies