Re: Partitioned loop device..

From: Kevin Corry (kevcorry@us.ibm.com)
Date: Tue Jul 15 2003 - 10:01:44 EST


On Tuesday 15 July 2003 03:46, Dimitry V. Ketov wrote:
> Hello,
> Is there any (un)official patch for current stable (or
> development) kernel that makes loop device partitioned? I found one on
> the ftp://ftp.hq.nasa.gov/pub/ig/ccd/enhanced_loopback/ (it contains
> port of Scyld's partition enhancements), but it seems still needs a fix.
> In general I plan to use partitioned loop device to simulate real disks
> in linux labs, possibly with a help from Stephen Tweedie's testdrive
> fault simulator. I just wonder if partitionable/faultable loop device
> planned in the future official kernels, or it will be better to write a
> separate 'simulated disk' driver???
>
> Thanks in advance,
> Dimitry.

You can already use Device-Mapper to create "partitions" on your loop devices,
so there's not much of a reason to add partitioning support to the loop
driver itself. There are a variety of tools you can use to set them up: EVMS,
LVM2, dmsetup, and I think there is/was a simple partitioning tool that uses
DM (dmpartx?).

-- 
Kevin Corry
kevcorry@us.ibm.com
http://evms.sourceforge.net/

- 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/



This archive was generated by hypermail 2b29 : Tue Jul 15 2003 - 22:00:57 EST