From: hadmut@danisch.de
To: linux-kernel@vger.kernel.org
Subject: Partitions on a loopback block device?
Date: Mon, 1 Dec 2003 13:40:34 +0100 [thread overview]
Message-ID: <20031201124034.GA32127@danisch.de> (raw)
Hi,
I'm currently trying to do hard disk backups of some machines
with different operating systems using a bootable Linux CD.
Backing up every single partition is fine, but overhead and
requires additional backup of the partition table in order
to be able to play it back.
What I would like to do is to have a full backup with
dd if=/dev/hda of=somewhere
and to mount the partitions of this file with the loopback block
driver.
A simple approach would be to use losetup with the offset function for
every single parttion (while I'm not sure whether this works through
the CHS geometry).
Would it be possible to have a loopback blockdevice recognize
partition tables and to provide partitions as any other block device?
Obviously, naming is not very elegant, but /dev/loopa0 would be a nice
analogon to /dev/hda0 and /dev/sda0
regards
Hadmut
next reply other threads:[~2003-12-01 12:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-01 12:40 hadmut [this message]
2003-12-01 14:24 ` Partitions on a loopback block device? Gerardo Exequiel Pozzi
-- strict thread matches above, loose matches on Subject: below --
2003-12-01 22:20 christophe varoqui
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=20031201124034.GA32127@danisch.de \
--to=hadmut@danisch.de \
--cc=linux-kernel@vger.kernel.org \
/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