I am working in kernel space.
I want to read the file with it's inode number.
I have two things with me.
1. inode number of file
2. device or partition(hda1, hda2 etc)
I want to read the sectors of the file till I get EOF.
If possible please give me the code
I want to read the file with it's inode number.
I have two things with me.
1. inode number of file
2. device or partition(hda1, hda2 etc)
I want to read the sectors of the file till I get EOF.
If possible please give me the code
Comment