[OpenWrt-Devel] [PATCH] package/base-files: caldata: work around dd's limitation

2020-05-17 Thread Thibaut VARÈNE
tl;dr: dd will silently truncate the output if reading from special files (e.g. sysfs attributes) with a too large bs parameter. This problem was exposed on some RouterBOARD ipq40xx devices which use a caldata payload which is larger than PAGE_SIZE, contrary to all other currently supported Router

Re: [OpenWrt-Devel] [PATCH] package/base-files: caldata: work around dd's limitation

2020-05-17 Thread mail
Hi, > -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > On Behalf Of Thibaut VARÈNE > Sent: Sonntag, 17. Mai 2020 20:29 > To: openwrt-devel@lists.openwrt.org > Cc: Thibaut VARÈNE > Subject: [OpenWrt-Devel] [PATCH] packag