[CentOS] question on mounting a partition that is in a disk image

Wed Aug 23 14:02:23 UTC 2006
Jerry Geis <geisj at pagestation.com>

How do I mount a partition that is in an image file?

I have a file called centos.img that has 3 partitions in the file.
I need to copy data to the third partition on that image file.

I have seen things about a loop back device (which is fine)
but then it talked about an offset parameter and I dont know what
that is or more importantly what number to use. I hope I'm on the
right track.

How do I mount it?

THanks,

Jerry