Re: hdparm ignoring spindown_time in config when called with by-id symlink

2019-01-02 Thread Andrea Borgia
Il 02/01/19 14:35, Reco ha scritto: So udev is not to blame here. It's shell-based config parsing library. Possibly an upstream issue for hdparm, then. Nice :( Whitelist it. A file should be called /etc/apparmor.d/local/usr.bin.thunderbird. Thanks for the tip, saving for later. echo 1

Re: hdparm ignoring spindown_time in config when called with by-id symlink

2019-01-02 Thread Reco
Hi. On Wed, Jan 02, 2019 at 01:34:14PM +0100, Andrea Borgia wrote: > Il 02/01/19 12:15, Reco ha scritto: > > > What about this: > > DEVNAME=/dev/disk/by-id/ata-Hitachi_HTS543225A7A384E2024242DBNGWJ_ \ > > sh -x /lib/udev/hdparm >> /tmp/hdparm.log 2>&1 > > I had tried it, too, and it

Re: hdparm ignoring spindown_time in config when called with by-id symlink

2019-01-02 Thread Andrea Borgia
Il 02/01/19 12:15, Reco ha scritto: What about this: DEVNAME=/dev/disk/by-id/ata-Hitachi_HTS543225A7A384E2024242DBNGWJ_ \ sh -x /lib/udev/hdparm >> /tmp/hdparm.log 2>&1 I had tried it, too, and it looks in line with the results: + set -e + [ -n /dev/disk/by-id/ata-Hitachi_HTS543225A7A38

Re: hdparm ignoring spindown_time in config when called with by-id symlink

2019-01-02 Thread Reco
Hi. On Tue, Jan 01, 2019 at 08:39:13PM +0100, Andrea Borgia wrote: > My PC has two disks, a NVME for Debian/testing and an old 2.5 drive for an OS > that shall remain nameless :) > > Since the 2.5 disc isn't at all used by Linux, I figured I might as well set > a very aggressive spindow

hdparm ignoring spindown_time in config when called with by-id symlink

2019-01-01 Thread Andrea Borgia
Hi. My PC has two disks, a NVME for Debian/testing and an old 2.5 drive for an OS that shall remain nameless :) Since the 2.5 disc isn't at all used by Linux, I figured I might as well set a very aggressive spindown time of, say, 30s and I wrote this in hdparm.conf: /dev/disk/by-id/ata-Hi