[lkml]   [2002]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectloopback block device 'offset' - 2GB limit?

If someone makes an image of their hard drive with 'dd', and wants to
mount a partition on that image, they can do losetup -o
offset-to-partition-start and it will work fine. This is good for the
first partition, or any partition starting under 2GB. Is there a way to
do this for a partition starting ABOVE 2 GB into the image?

struct loop_info has a 32-bit 'int' offset (for x86 anyway), so it might
require something tricky. I've tried stringing loop devices into a chain,
such that the first loop device starts at some offset, and another loop
device uses the first loop device as the source while specifying another
offset, but this (of course) doesn't work.

Is this possible with a standard linux kernel?

-Jeff Meininger

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:26    [W:0.017 / U:9.648 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site