Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Jul 2012 10:19:04 +0200
From:      David Demelier <demelier.david@gmail.com>
To:        freebsd-ports@freebsd.org, bruce@cran.org.uk
Subject:   sysutils/ataidle, rc script does not eval ataidle_args
Message-ID:  <4FF69F78.8090607@gmail.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FF69F78.8090607>