<div dir="ltr">Hi Greg,<div><br></div><div>This could be nice addition. I will try to submit it once done.</div><div><br></div><div>Pradeep</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 22 October 2013 15:11, Greg Freemyer <span dir="ltr"><<a href="mailto:greg.freemyer@gmail.com" target="_blank">greg.freemyer@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><br>
<br>
Pradeep Kumar <<a href="mailto:praks411@gmail.com">praks411@gmail.com</a>> wrote:<br>
>Hi,<br>
><br>
>I'm writing a small utility to parse XFS fs image on windows.<br>
>I'm able to fetch the files in the first AG (0).<br>
>However when it comes to the files which are in different AG I'm facing<br>
>some problem in parsing extent bmap 128bits data of file inode (format<br>
>==<br>
>2).<br>
><br>
>Here is the sample 128bits data<br>
>1. 00 00 00 00 00 00 00 00 00 00 00 04 99 80 00 01 (LSB)<br>
><br>
>After unpacking the bits are per doc and source code<br>
>In the above case I'm getting following<br>
>Num Of blocks = 1 (correct) (0 to 20 bits)<br>
>absolute block number = 9420 (0x24CC) (wrong) (21 to 72)<br>
>file offset = 0 (72 to 126)<br>
><br>
>I'm always getting wrong absolute block number . Actual data is in<br>
>block<br>
>7628 (0x1DCC).<br>
>No matter what I try I'm always getting the same result. I've even<br>
>verified<br>
>this<br>
>by using the code from xfs_bmbt_get_all function from xfs source which<br>
>too<br>
>gives me same result (9420).<br>
>Please someone help me with this. I'm stuck on this from 3 days.<br>
><br>
>Thanks and Regards,<br>
>Pradeep<br>
<br>
</div></div>Pradeep,<br>
<br>
It would be cool if your utility could be incorporated into sleuthkit. Sleuthkit has fat and NTFS parsers for sure already. I think ext2 and ext3. Adding a xfs parser would be a cool addition.<br>
<br>
<a href="http://www.sleuthkit.org/sleuthkit/docs/api-docs/index.html#users_guide" target="_blank">http://www.sleuthkit.org/sleuthkit/docs/api-docs/index.html#users_guide</a><br>
<br>
Fyi: sleuthkit has been around for a long time, but it is still actively maintained and heavily used. It is in several linux distros, but is also available for windows.<br>
<span class="HOEnZb"><font color="#888888"><br>
Greg<br>
--<br>
Sent from my Android phone with K-9 Mail. Please excuse my brevity.<br>
</font></span></blockquote></div><br></div>