From: David Guyon Martin Subject: device mapper integrated loops Date: Wed, 5 Oct 2005 13:31:20 +0200 Message-ID: <2c53b31c0510050431s51abd59bu@mail.gmail.com> Reply-To: David Guyon Martin , device-mapper development Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1145020143==" Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: dm-devel@sistina.com List-Id: dm-devel.ids --===============1145020143== Content-Type: multipart/alternative; boundary="----=_Part_24742_25575676.1128511880059" ------=_Part_24742_25575676.1128511880059 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello, Do you think dm could have a loop target instead of seting loops with losetup ? We allready have dm-crypt for the encryption stage of a "losetup -e ", dm replaces losetup when source is a device but I understand that we still need losetup if the source is a regular file. Our problem is that we will need to map a great number of files, as if they were PVs of a VG. Linux kernel can have up to 255 loops but we will reach this limit. The idea is to embed to loop itself in a device mapper add-on like dm-crypt= , so we won't use any /dev/loop* . Do you think this is stupid or is there some possility out there ? (we would like to have some advice before starting any project in this direction) Thank you, David G.M. ------=_Part_24742_25575676.1128511880059 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello,

Do you think dm could have a loop target instead of seting loops with loset= up ?
We allready have dm-crypt for the encryption stage of a "losetup -e <crypt>", dm replaces losetup when source is a device but I understand that we still need losetup if the source is a regular file.
Our problem is that we will need to map a great number of files, as if they were PVs of a VG. Linux kernel can have up to 255 loops but we will reach this limit.

The idea is to embed to loop itself in a device mapper add-on like dm-crypt= , so we won't use any /dev/loop* .

Do you think this is stupid or is there some possility out there ?
(we would like to have some advice before starting any project in this dire= ction)

Thank you,
David G.M.
------=_Part_24742_25575676.1128511880059-- --===============1145020143== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============1145020143==--