From: "Richard B. Johnson" <root@chaos.analogic.com>
To: Ville Herva <vherva@niksula.hut.fi>
Cc: Soeren Sonnenburg <kernel@nn7.de>,
Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: mounting partitions on loopback fs ?
Date: Wed, 9 Apr 2003 11:42:09 -0400 (EDT) [thread overview]
Message-ID: <Pine.LNX.4.53.0304091137500.30328@chaos> (raw)
In-Reply-To: <20030409153040.GT159052@niksula.cs.hut.fi>
On Wed, 9 Apr 2003, Ville Herva wrote:
> On Wed, Apr 09, 2003 at 11:20:22AM +0200, you [Soeren Sonnenburg] wrote:
> > Hi!
> >
> > I dd'ed a whole harddisk into a file and set it up using losetup...
> >
> > when I fdisk /dev/loop0 I can clearly see all the partitions. However I
> > have no idea how I could mount them. Is that possible / what needs to be
> > tweaked to make that possible ?
>
mount -o loop filename /mountpoint
Here is an example:
Script started on Wed Apr 9 11:39:27 2003
# ls -la
total 370560
drwxr-xr-x 2 root root 4096 Apr 9 11:39 .
drwxr-xr-x 63 root root 4096 Apr 9 11:39 ..
-rwxr-xr-x 1 root root 212 Sep 27 2002 cp-win.sh
-rw-r--r-- 1 root root 0 Apr 9 11:39 typescript
-rwxr-x--x 1 root root 379064320 Jan 25 2002 win.raw
# mount -o loop win.raw /mnt
# ls /mnt
autorun.inf cdrom_ip.5 discover read1st.txt setup.exe support
bootdisk cdrom_nt.5 i386 readme.doc setuptxt valueadd
# exit
exit
Script done on Wed Apr 9 11:40:07 2003
Cheers,
Dick Johnson
Penguin : Linux version 2.4.20 on an i686 machine (797.90 BogoMips).
Why is the government concerned about the lunatic fringe? Think about it.
prev parent reply other threads:[~2003-04-09 15:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-09 9:20 Soeren Sonnenburg
2003-04-09 15:30 ` Ville Herva
2003-04-09 15:42 ` Richard B. Johnson [this message]
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=Pine.LNX.4.53.0304091137500.30328@chaos \
--to=root@chaos.analogic.com \
--cc=kernel@nn7.de \
--cc=linux-kernel@vger.kernel.org \
--cc=vherva@niksula.hut.fi \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®