Skip to contentSkip to conversation

Loop-back block device?

DISCUSSION willy tarreau 1 participant 1 message Jan 11, 2002

lore
Share & tools
lore
#0 lore raw
Quoted 1 line

[here the partitions on the (latter) /dev/hda will

show

Quoted 1 line

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