How to read data of specified disk block in ext2 ?
Hi All, Does anybody know a function which can be used to read the data of disk block in ext2 fs? -- Regards, Kashish
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@gmail.com> 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@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
No, I want to call the function present in kernel which reads the block data and returns the data or pointer to the data. -- Regards, Kashish
participants (2)
-
kashish bhatia -
Rajat Sharma