Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 103202
Collapse All | Expand All

(-)sys-apps/hdparm/files/hdparm-init-7.old (-2 / +1 lines)
Lines 120-127 Link Here
120
		for device in /dev/hd?
120
		for device in /dev/hd?
121
		do
121
		do
122
			# check that the block device really exists
122
			# check that the block device really exists
123
			# by opening it for reading
123
			if [ -b $device ]
124
			if [ -b $device ] && ( : <$device ) 2>/dev/null
125
			then
124
			then
126
				eval args=\${`basename $device`_args}
125
				eval args=\${`basename $device`_args}
127
				do_hdparm
126
				do_hdparm

Return to bug 103202