[OpenWrt-Devel] [PATCH 3/3] treewide: rename DEVICE_TYPE to DEFAULT_TYPE
linus.walleij at linaro.org
Sat May 30 07:27:48 EDT 2020
On Fri, May 29, 2020 at 11:12 PM Matthias Schiffer
<mschiffer at universe-factory.net> wrote:
> Meanwhile I've found another target-specific config setting in the busybox
> package: BUSYBOX_DEFAULT_TRUNCATE is enabled for TARGET_bcm53xx only.
> I assume "truncate" is tiny enough that it doesn't really justify making
> busybox non-shared, we could just build in truncate unconditionally. I
> don't know how contrained some of the "nas" targets are, but maybe we
> should just replace the busybox hack with a full-featured hdparm on these
My approach in the patch that started the discussion was more along the
lines of "least common denominator" - if any target needs hdparm then all
targets get hdparm - but that is I suppose ultimately not the best solution
for minimalism reasons.
BTW I noticed this when using ArchLinux ARM and OpenWrt on the same
device an the hard drive would not spin down on OpenWrt and finally
hashed out that ArchLinux was setting the spin down time using
I have a small rc script to do the same on OpenWrt as well that I will
add once we hashed out the overall structure for NAS type devices.
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel