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

William L. Maltby BillsCentOS at triad.rr.com
Wed Aug 23 16:40:57 UTC 2006


On Wed, 2006-08-23 at 11:48 -0400, William L. Maltby wrote:
> On Wed, 2006-08-23 at 10:02 -0400, Jerry Geis wrote: 
> > How do I mount a partition that is in an image file?
> ><snip>

OOPS! Forgot to show mount below

> # mkdir /mnt/temp

mount -t auto -o ro /dev/loop1 /mnt/temp

> # du -s /mnt/temp/*  # Snipped below for brevity
> 51      /mnt/temp/config-2.6.9-34.0.1.EL
> ... <snip>


-- 
Bill
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20060823/8d63ad57/attachment.sig>


More information about the CentOS mailing list