parse raw image to read block group desc table!

gagan chhabra <[email protected]> Mon, 28 Sep 2015 12:37:37 +0530
Newsgroups gmane.comp.file-systems.ext3.user
Message-ID <CAJ_ObUHOy0y69jLTZUVp+Bkoth2iaY0XGKPJJg9oNH7eb-oJ+A@mail.gmail.com>
--===============3628486776378273296==
Content-Type: multipart/alternative; boundary=001a1141cd9a5edfa80520c95b9e

--001a1141cd9a5edfa80520c95b9e
Content-Type: text/plain; charset=UTF-8

Hi,

I am writing a piece of code to open a raw image file of a virtual machine
which has ubuntu installed in it. The virtual disk is formatted using MBR
partitioning method and has 3 primary and 1 extended partition.

I want to open up that file and read the block group descriptor table and
inode table for each partition. I have written some lines of code and
successfully able to read the partition entries and the superblock of each
partition.

But now I am stuck and unable to read  block group descriptor table and
inode table. Shall I post my code here? Any suggestion or resource would be
of great help.

Thanks,
Gagan
Mob: +91 97049 28427

--001a1141cd9a5edfa80520c95b9e
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div>Hi,<br><br></div>I am writing a piece of co=
de to open a raw image  file of a virtual machine which has ubuntu installe=
d in it. The virtual disk is formatted using MBR partitioning method and ha=
s 3 primary and 1 extended partition.<br><br></div>I want to open up that f=
ile and read the block group descriptor table and inode table for each part=
ition. I have written some lines of code and successfully able to read the =
partition entries and the superblock of each partition. <br><br></div>But n=
ow I am stuck and unable to read=C2=A0 block group descriptor table and ino=
de table. Shall I post my code here? Any suggestion or resource would be of=
 great help.<br><div><div></div><div><br clear=3D"all"></div><div><div><div=
><div><div class=3D"gmail_signature"><div dir=3D"ltr"><div><div dir=3D"ltr"=
><div><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr"><font co=
lor=3D"#888888"><div dir=3D"ltr"><span><font color=3D"#888888">Thanks,<br>G=
agan<br>
Mob: +91 97049 28427<br></font></span></div><div><span><font color=3D"#8888=
88"><br></font></span></div></font></div></div></div></div></div></div></di=
v></div></div></div></div>
</div></div></div></div></div>

--001a1141cd9a5edfa80520c95b9e--


--===============3628486776378273296==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Ext3-users mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/ext3-users
--===============3628486776378273296==--