[Buildroot] [PATCH v2] makedevs: fix cases where (start != 0)

Peter Korsgaard jacmet at uclibc.org
Wed Feb 23 22:37:16 UTC 2011


>>>>> "Thomas" == Thomas De Schampheleire <patrickdepinguin+buildroot at gmail.com> writes:

 Thomas> The makedevs script did not always generate the requested set
 Thomas> of device names / minor number series.  * If start != 0, then
 Thomas> requesting (count) devices would generate only (count - start)
 Thomas> * If start != 0 && increment != 1, then requesting minors
 Thomas> starting with (minor) would generate minors starting with
 Thomas> (minor + (start * (increment - 1)))

 Thomas> This patch fixes the code and updates the usage text with extra
 Thomas> examples.

Committed, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list