Re: [PATCH v3 10/10] ixp4xx: Add hdparm script

2023-10-13 Thread Andrey Jr. Melnikov
Linus Walleij wrote: > On Fri, Oct 13, 2023 at 12:28 AM Andrey Jr. Melnikov > wrote: > > Linus Walleij wrote: > > > This script will make sure to spin down harddrives on IXP4xx > > > NAS devices such as the NSLU2 and siblings after 1 minute > > > of inactivity. > > > > Why not use hotplug

Re: [PATCH v3 10/10] ixp4xx: Add hdparm script

2023-10-13 Thread Linus Walleij
On Fri, Oct 13, 2023 at 12:28 AM Andrey Jr. Melnikov wrote: > Linus Walleij wrote: > > This script will make sure to spin down harddrives on IXP4xx > > NAS devices such as the NSLU2 and siblings after 1 minute > > of inactivity. > > Why not use hotplug events? Could be a good idea! Do you have

Re: [PATCH v3 10/10] ixp4xx: Add hdparm script

2023-10-12 Thread Andrey Jr. Melnikov
Linus Walleij wrote: > This script will make sure to spin down harddrives on IXP4xx > NAS devices such as the NSLU2 and siblings after 1 minute > of inactivity. Why not use hotplug events? > Signed-off-by: Linus Walleij > --- > target/linux/ixp4xx/base-files/etc/board.d/03_hdparm | 14

[PATCH v3 10/10] ixp4xx: Add hdparm script

2023-10-12 Thread Linus Walleij
This script will make sure to spin down harddrives on IXP4xx NAS devices such as the NSLU2 and siblings after 1 minute of inactivity. Signed-off-by: Linus Walleij --- target/linux/ixp4xx/base-files/etc/board.d/03_hdparm | 14 ++ 1 file changed, 14 insertions(+) diff --git