Tejun Heo wrote:
Renato S. Yamane wrote:
So, my questions is:
- This is dangerous? Can damage something?

If your drive sounds funny on shutdown, it could.  Your drive is
supposed to sound the same way it sounds when you execute "hdparm -y
/dev/sdX".

No strange sounds :-)

- How can I help to fix this warning?

I believe there's already update out but you can edit some configuration
file (can't remember which ATM) such that "-h" option is not passed to
halt.

Fixed. Patch is attached. Thanks!
--- /etc/init.d/halt	2007-10-23 07:51:40.000000000 -0200
+++ /etc/init.d/halt_b	2007-10-23 07:50:52.000000000 -0200
@@ -44,7 +44,7 @@ do_stop () {
 	hddown=""
 	if grep -qs '^md.*active' /proc/mdstat
 	then
-		hddown="-h"
+		hddown=""
 	fi
 
 	# If INIT_HALT=HALT don't poweroff.

Reply via email to