Mailinglist Archive: opensuse (1047 mails)

< Previous Next >
Re: [opensuse] hdparm on boot and YaST
  • From: Per Jessen <per@xxxxxxxxxxxx>
  • Date: Tue, 19 Jan 2016 08:38:48 +0100
  • Message-id: <n7kp68$a7u$>
Juan R. de Silva wrote:

About a month ago I run a cross a post in forums showing the way to
run something like 'hdparm -B 254 /dev/sda' upon boot by simply
setting some parameter in YaST.

Yes, you should be able to do that with
sysconfig/ide:DEVICES_FORCE_IDE_DMA which YaST manipulates. I'm not
sure which YaST module, presumably something hardware related. You
could probably also just edit that config file.

The script that does the work is "/usr/lib/udev/" :

# The setting e.g. "/dev/hda:69:-c1:-m16:-u1:-W1:-A1" should be
# expanded as "hdparm -d 1 -X 69 -c1 -m16 -u1 -W1 -A1 /dev/hda"

I haven't tried it, but it sounds like you might just need this:


However, that script is apparently only applied for /dev/hdx devices:


Per Jessen, Zürich (-2.9°C) - dedicated server rental in Switzerland.

To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >