Re: [PATCH][v4] Modify loop device to be able to manage partitionsof the disk image

From: Randy Dunlap
Date: Wed Mar 19 2008 - 20:05:31 EST


Andrew Morton wrote:
On Wed, 19 Mar 2008 21:24:41 +0100
Laurent Vivier <Laurent.Vivier@xxxxxxxx> wrote:

Le mercredi 19 mars 2008 __ 13:11 -0700, Randy Dunlap a __crit :
On Wed, 19 Mar 2008 13:36:07 +0100 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".
What happened to the update to Documentation/kernel-parameters.txt
that was in v3?
Well, perhaps I didn't understand the comment of Andrew:

"This shouldn't be needed."

I though it means I should remove it. So, Andrew ???

First of all, I didn't see Andrew's message until awhile after yours,
due to some kind of email problems...

No, given that all module_param() options are available via the boot
command line when the module is linked into vmlinux, we don't document them
separately.

Thanks. That's news to me. Not that I mind the news.

There should be a way of auto-generating all the documentation for all the
module parameters from their MODULE_PARM_DESC's. And there probably is,
but I'm not sure how this is done (?)

No, nothing in tree like that.

Would such an auto-generator use source files or compiled modules?
Using the latter means that (a) something like allmodconfig must be done
and (b) it only works for the compiled $ARCH(es), whereas using source code
has neither of those "problems."

I can work on updating
http://www.xenotime.net/linux/scripts/module-params (from Oct-2006).
Comments welcome.


(does `make help', fails to spot it).

You can do `modinfo loop' but that probably doesn't work if
CONFIG_BLK_DEV_LOOP=y?


--
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/