Thread (13 messages) 13 messages, 7 authors, 2011-03-08

How to verify block numbers of file ?

From: kashish bhatia <hidden>
Date: 2011-02-20 15:17:42

On Sun, Feb 20, 2011 at 7:32 PM, Abhijit Hoskeri
[off-list ref]wrote:
On Sun, Feb 20, 2011 at 6:52 PM, kashish bhatia [off-list ref]
wrote:
quoted
Is there any method/command/utility to know what are the block numbers
which
quoted
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110220/24645042/attachment.html 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help