Re: [PATCH 1/3] modprobe: blacklist modules on kernel commandline

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Thu, 26 May 2011, Jon Masters wrote:

On Thu, 2011-05-26 at 22:07 +0200, Tom Gundersen wrote:
On Thu, May 26, 2011 at 9:43 PM, Robby Workman <rworkman@xxxxxxxxxxxxx> wrote:
On Thu, 26 May 2011, Tom Gundersen wrote:

Modules mod1, mod2 and mod3 can now be blacklisted by passing

modprobe.blacklist=mod1,mod2,mod3

on the kernel command line.

This is useful in case a module prevents the system from booting.


I've got a patch from PiterPUNK in a local git tree for that, and
I *thought* we'd sent it to Jon back in November  :/  Here's the
patch (attached):

Ah, I was not aware of this. The code looks very similar, except for
different syntax.

I don't recall the previous patch, oh well. In any case, the one Tom
sent seems reasonable. Unless Robby really minds, I'll pull the newer
one (comma-delimited list). If there's an established use of the ":"
syntax, let me know though.

The patch that rworkman sends is the one that I sent in June/2010 and
Matt Domsch put on m-i-t bugzilla in Nov/2010:

https://bugzilla.kernel.org/show_bug.cgi?id=23972

I guess probably we have a dozen ppl using this patch. So, changing
from ":" to "," probably wont kill anyone. At least not me.

Happy to see other ppl have the same problem, the same idea to fix
it and, better, this time is merged :)

Piter PUNK
--
To unsubscribe from this list: send the line "unsubscribe linux-modules" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux