Re: Loop-back block device?

willy tarreau (wtarreau@yahoo.fr)
Fri, 11 Jan 2002 18:31:48 +0100 (CET)


> [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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/