Re: [PATCH] base-files: read all 3 bytes in get_magic_vfat() at once

2021-01-04 Thread Paul Spooren
On Mo, Jan 4, 2021 at 01:28, Adrian Schmutzler wrote: While the speed improvement might be negligible, there is still no reason to read individual bytes. Signed-off-by: Adrian Schmutzler --- I'm wondering how many times dd needs to be run to sum up to the same amount of time this took t

[PATCH] base-files: read all 3 bytes in get_magic_vfat() at once

2021-01-03 Thread Adrian Schmutzler
While the speed improvement might be negligible, there is still no reason to read individual bytes. Signed-off-by: Adrian Schmutzler --- package/base-files/Makefile| 2 +- package/base-files/files/lib/upgrade/common.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)