mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: Loop-back block device?
@ 2002-01-11 17:31 willy tarreau
  0 siblings, 0 replies; 2+ messages in thread
From: willy tarreau @ 2002-01-11 17:31 UTC (permalink / raw)
  To: roy; +Cc: linux-kernel

> [here the partitions on the (latter) /dev/hda will
show
> up and - after this - mount the partitions. 

Although you can't do that at the moment, at least you
can
play with the loop offset when mounting your file as a
loopback to access a given partition. I think it would
be
simpler to write a small prog that will seek on your
file to
read the MBR and extended partitions and returns a
list
of offsets for all the partitions so that you can
mount them.
(man 8 mount for more info).

Regards,
Willy



___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Courrier : http://courrier.yahoo.fr

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Loop-back block device?
@ 2002-01-11 16:48 Roy Sigurd Karlsbakk
  0 siblings, 0 replies; 2+ messages in thread
From: Roy Sigurd Karlsbakk @ 2002-01-11 16:48 UTC (permalink / raw)
  To: linux-kernel

Hi all

I apologize if this is question doesn't belong here, but I haven't found
any answers anywhere I've been looking.

What I want to do...

dd if=/dev/hda of=/some/file/on/another/larger/drive
mk_block_dev /some/file/on/another/larger/drive
cat /proc/partitions
[here the partitions on the (latter) /dev/hda will show up

and - after this - mount the partitions.

Thanks all

roy

--
Roy Sigurd Karlsbakk, MCSE, MCNE, CLS, LCA

Computers are like air conditioners.
They stop working when you open Windows.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-01-11 17:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-11 17:31 Loop-back block device? willy tarreau
  -- strict thread matches above, loose matches on Subject: below --
2002-01-11 16:48 Roy Sigurd Karlsbakk

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®