Re: Loopback mounting from a file with a partition table?

From: kernel
Date: Fri Jan 21 2005 - 23:46:57 EST


On Fri, 2005-01-21 at 20:45, Dan Stromberg wrote:
> Has anyone tried loopback mounting individual partitions from within a
> file that contains a partition table?
>

Yes, lots of folks.


> When I mount -o loop the file, I seem to get the first partition in the
> file, but I don't see anything in the man page for mount that indicates a
> way of getting any other partitions from a file with a partition table.
>
> Any comments?

Sure, find the starting offset for the filesystem and pass that to mount
via the '-o offset=XXX' flag.


regards,

-fd

www.farmerdude.com




-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/