diff options
author | Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com> | 2011-02-23 17:44:41 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2011-02-23 23:37:36 +0100 |
commit | a85971a68b6661327e21f44ce50925b220997dbb (patch) | |
tree | ecdffabb47dba84c6d007f105fbda0a9fc5f7910 /fs/skeleton/mnt | |
parent | d17c1652808829bfc354683854c7170b90f7f127 (diff) | |
download | buildroot-novena-a85971a68b6661327e21f44ce50925b220997dbb.tar.gz buildroot-novena-a85971a68b6661327e21f44ce50925b220997dbb.zip |
makedevs: fix cases where (start != 0)
The makedevs script did not always generate the requested set of device names / minor number series.
* If start != 0, then requesting (count) devices would generate only (count - start)
* If start != 0 && increment != 1, then requesting minors starting with (minor) would generate minors starting with (minor + (start * (increment - 1)))
This patch fixes the code and updates the usage text with extra examples.
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'fs/skeleton/mnt')
0 files changed, 0 insertions, 0 deletions