Hi I have a fresh install of debian 12 on a headless server which I added hdparm to using the debian hdparm package. I also have a drive with a partition that is not mounted.
I have notived that every 5 minutes my kernel log has the following logged to it:
sdc: sdc1
I have traced this to the udev rule that was added by hdparm "85-hdparm.rules"
Further if I call the action in that rule manually with "/lib/udev/hdparm /dev/sdc" I get the log in my kernel again.
This only happens if the file system is not mounted, if it is mounted then there are no log entries. I however want to keep the filesystem unmounted as I only mount it via a cron job to perform backups and then dismount it.
I would prefer not to have the kernel log filled up like this as it makes it difficult to read the logs.
I am assuming that this is a issue or undesired feature with hdparm
Rejected. This is a distro bug, not an hdparm bug. Fix your distro's scripts.