sysutils/ataidle, rc script does not eval ataidle_args

David Demelier demelier.david at gmail.com
Fri Jul 6 08:19:13 UTC 2012


Hello,

It seems that the ataidle rc script does not eval the ataidle_args, the 
command executed is only:

/usr/local/bin/ataidle /dev/ada0

Producing output:

Model:			WDC WD3200BEKT-60F3T1
Serial:			WD-WX10A99E0964
Firmware Rev:		12.01A12
ATA revision:		ATA-8
LBA 48:			yes
Geometry:		16383 cyls, 16 heads, 63 spt
Capacity:		298GB
SMART Supported: 	yes
SMART Enabled: 		yes
Write Cache Supported: 	yes
Write Cache Enabled: 	yes
APM Supported: 		yes
APM Enabled: 		yes
APM Value: 		128
AAM Supported: 		no

In my rc.conf I have:

ataidle_enable="YES"
ataidle_devices="ada0"
adaidle_ada0="-P 0"

As you can see the APM value is not correct, I've set 0 but 128 is still 
there.

I think the problem is at line 44:

eval ataidle_args=\$ataidle_${i}

Cheers,

-- 
David Demelier



More information about the freebsd-ports mailing list