Re: Warnings on shutdown (Debian Etch and Kernel 2.6.22.9)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux