Devuan bug report logs - #222
hdparm rules use DEVNAME only

Package: eudev; Reported by: Ralph Ronnquist <>;
Date: Mon, 25 Jun 2018 12:03:01 UTC;
Maintainer for eudev is (unknown).

View this report as an mbox folder.

Report forwarded to,
bug#222; Package eudev. Full text available.

Acknowledgement sent to Ralph Ronnquist <>:
New bug report received and forwarded. Copy sent to Full text available.

Message received at

To: Devuan Bug Tracking System <>
From: Ralph Ronnquist <>
Subject: hdparm rules use DEVNAME only
Date: Mon, 25 Jun 2018 21:56:31 +1000

Package: eudev
Version: 3.2.2-13

Lodged on behalf of @kalle-delhaye:

One week later - I've found the (or my?) fault.

When I upgraded my server from Debian Jessie to Devuan Ascii i reused 
the working settings in hdparm.conf.
But in Ascii, hdparm.conf is read by a script started by a eudev rule 
and is working with /dev/sd? definitions only.
No /dev/disk/by-label, no /dev/disk/by-uuid or any other links in /dev/disk.

That's because the little eudev script reading hdparm.conf is using only 
the $DEVNAME environment variable from eudev to parse the settings. And 
$DEVNAME is /dev/sda, for example.

The sd? links in /dev can change for a specific disk, so I think its not 
a good idea to remove the by-label or by-uuid posibilities from hdparm.conf.
As a workaround you can make your own eudev rule for partitions using 
the variable $ID_FS_LABEL or $ID_FS_UUID for example.
I will try this when I find some time.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.

Devuan Bugs Owner <>.
Last modified: Mon, 16 Dec 2019 07:21:27 UTC