From: "Pádraig Brady" <P@draigBrady.com>
To: Laurent Vivier <Laurent.Vivier@bull.net>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] Modify loop device to be able to manage partitions of the disk image
Date: Thu, 6 Mar 2008 12:21:13 +0000 [thread overview]
Message-ID: <47CFE1B9.1080405@draigBrady.com> (raw)
In-Reply-To: <1204803914.4325.16.camel@frecb07144>
Laurent Vivier wrote:
> Le jeudi 06 mars 2008 à 11:34 +0000, Pádraig Brady a écrit :
>> Laurent Vivier wrote:
>>> This patch allows to use loop device with partitionned disk image.
>>>
>>> Original behavior of loop is not modified.
>>>
>>> A new parameter is introduced to define how many partition we want to be
>>> able to manage per loop device. This parameter is "max_part".
>> I like it!
>
> Thanks,
>
>> Shouldn't we set max_part to non zero by default though?
>
> Well, the problem is that you modify the default minor number of loop
> device if max_part != 0, so I'm afraid of compatibility problems:
I understand that. But who would care about specific minor numbers?
Hmm how does your patch relate to this: http://lwn.net/Articles/110426/
As an aside, I also notice on my system from the following output that
the limit of the number of partitions for a sata/scsi disk seems to be 15:
$ ls -la /dev/sd[ab]
brw-rw---- 1 root disk 8, 0 2007-11-13 10:35 /dev/sda
brw-rw---- 1 root plugdev 8, 16 2008-03-06 12:11 /dev/sdb
Pádraig.
next prev parent reply other threads:[~2008-03-06 12:23 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-06 9:43 [PATCH] Modify loop device to be able to manage partitions of the disk image Laurent Vivier
2008-03-06 9:57 ` Nick Piggin
2008-03-06 10:16 ` Laurent Vivier
2008-03-06 10:56 ` Nick Piggin
2008-03-06 11:29 ` Laurent Vivier
2008-03-06 11:34 ` Pádraig Brady
2008-03-06 11:45 ` Laurent Vivier
2008-03-06 12:21 ` Pádraig Brady [this message]
2008-03-06 12:44 ` Laurent Vivier
2008-03-06 12:35 ` Christoph Hellwig
2008-03-06 12:55 ` Laurent Vivier
[not found] <a4kTW-44U-25@gated-at.bofh.it>
[not found] ` <a4l3D-4hn-11@gated-at.bofh.it>
[not found] ` <a4lmN-4Xt-7@gated-at.bofh.it>
[not found] ` <a4m9d-6iD-7@gated-at.bofh.it>
2008-03-07 11:56 ` Bodo Eggert
2008-03-07 12:08 ` Bart Van Assche
2008-03-07 12:13 ` Laurent Vivier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47CFE1B9.1080405@draigBrady.com \
--to=p@draigbrady.com \
--cc=Laurent.Vivier@bull.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.