On Sun, Feb 20, 2011 at 7:32 PM, Abhijit Hoskeri
<[email protected]>wrote:

> On Sun, Feb 20, 2011 at 6:52 PM, kashish bhatia <[email protected]>
> wrote:
> > Is there any method/command/utility to know what are the block numbers
> which
> > are allocated to a file in ext2 fs?
> >
>
> The FIBMAP ioctl gives you the block number give an integer, which is
> the nth block attached to the inode. It includes blocks allocated to
> store indirect blocks too.
>
> -Abhijit
>


What exactly FIBMAP is  and how to use it ?

For instance , if I made my own module and I am using ioctl. Then how should
I use it?

Is it a function?


-- 
Regards,
Kashish
_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to