Re: [Mit-devel] [PATCH] generate-modprobe.conf: handle duplicate aliases

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

 



On 10/16/09, Mike Frysinger <vapier@xxxxxxxxxx> wrote:
> On Sunday 08 February 2009 19:02:25 Mike Frysinger wrote:
>> Keep from blowing up when people have duplicate aliases in their files.
>> The grep ends up including new lines and with certain formed comments,
>> hits an infinite loop.
>>
>> For example, the following inputs illustrates the problem:
>> ----------------------------------------------
>> alias char-major-195 NVdriver
>> alias /dev/nvidiactl char-major-195
>> alias char-major-195 nvidia
>> alias /dev/nvidiactl char-major-195
>> ----------------------------------------------
>> alias a b
>> alias b a
>> ----------------------------------------------
>
> no feedback on this change ?
> -mike

I don't understand the changelog - I don't see the loop in the first
example, and I don't understand why it also depends on having "certain
formed comments".

That said, I've no objection to applying it as-is.  Everyone else has
long forgotten about this script, so I don't expect to understand it,
and I'm sure any hypothetical bug reports would be (re)directed to the
person who last touched it :).

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