From: Luke Kenneth Casson Leighton <lkcl@lkcl.net>
To: Anthony Liguori <aliguori@us.ibm.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: accessing loopback filesystem+partitions on a file
Date: Wed, 29 Jun 2005 11:04:37 +0100 [thread overview]
Message-ID: <20050629100437.GH10219@lkcl.net> (raw)
In-Reply-To: <42C1EBC2.8090305@us.ibm.com>
On Tue, Jun 28, 2005 at 07:30:58PM -0500, Anthony Liguori wrote:
> Luke Kenneth Casson Leighton wrote:
>
> >[if you are happy to reply at all, please reply cc'd thank you.]
> >
> >hi,
> >
> >
> Hi Luke,
>
> >the question is, therefore:
> >
> > * how the hell do you loopback mount (or lvm mount
> > or _anything_! something!) partitions that have
> > been created in a loopback'd file!!!!
> >
> >
> See http://lists.samba.org/archive/linux/2004-December/012627.html
>
> In summary, if you have a single partition then you can use the
> following command:
>
> mount -o loop,offset=32256 loop.img /mnt
>
> There's mention of a replacement loopback driver that supports
> partitions but a quick google'ing didn't turn anything up.
yeh, i know - pain, innit - hence my question!
you'd have to know in advance that someone worked on this
already such that they picked a suitable keyword e.g. "extended
loopback" or "enhanced loopback".
the latter gives this:
http://unix.freshmeat.net/projects/enloop/
fortunately the knowledge is stored in a number of people's heads,
namely ian and mark's, and they've kindly responded and pointed me in
a suitable direction.
lomount.c, a 259-line-program which cannot be found anywhere
but in source code form, actually analyses the first block
and performs above-suggested suitable mount commands on your behalf.
l.
next prev parent reply other threads:[~2005-06-29 10:04 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-28 23:49 accessing loopback filesystem+partitions on a file Luke Kenneth Casson Leighton
2005-06-29 0:30 ` Anthony Liguori
2005-06-29 10:04 ` Luke Kenneth Casson Leighton [this message]
2005-06-29 1:33 ` Mark Williamson
2005-06-29 2:33 ` [Xen-devel] " Luke Kenneth Casson Leighton
2005-06-29 2:33 ` Luke Kenneth Casson Leighton
2005-06-29 2:45 ` Luke Kenneth Casson Leighton
-- strict thread matches above, loose matches on Subject: below --
2005-06-29 7:12 Ian Pratt
2005-06-28 23:33 Luke Kenneth Casson Leighton
2005-06-29 0:30 ` Jason Lunz
2005-06-29 0:35 ` Grzegorz Kulewski
2005-06-29 1:37 ` Luke Kenneth Casson Leighton
2005-06-29 1:48 ` Peter Chubb
2005-06-29 10:00 ` Luke Kenneth Casson Leighton
2005-06-29 10:00 ` Luke Kenneth Casson Leighton
2005-06-29 1:50 ` Luke Kenneth Casson Leighton
2005-06-29 13:27 ` Jari Ruusu
2005-06-30 0:38 ` Luke Kenneth Casson Leighton
2005-06-29 10:52 ` P
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050629100437.GH10219@lkcl.net \
--to=lkcl@lkcl.net \
--cc=aliguori@us.ibm.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.