lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <4721C0A6.4000200@gmail.com> Date: Fri, 26 Oct 2007 19:25:42 +0900 From: Tejun Heo <htejun@...il.com> To: Jan Engelhardt <jengelh@...putergmbh.de> CC: James.Bottomley@...eleye.com, Linux Kernel Mailing List <linux-kernel@...r.kernel.org>, linux-scsi@...r.kernel.org Subject: Re: Disk spindown on rmmod sd_mod Jan Engelhardt wrote: > I am using 2.6.23-rc9 with pata_sis. `modprobe -r sd_mod`, which I ran > from initramfs, caused all my disks to spindown - sd even told me so. > > I recall there has been talk a while back about whether to spin down > disks on shutdown or not, but I do not think it touched the removal of > sd_mod, did it? So either way, can someone fill me in why the spindown > is done? The problem is that it's difficult to tell why a disk is going down from sd_shutdown(), so it issues STOP unless system state is SYSTEM_RESTART. Maybe we need to issue STOP only for SYSTEM_HALT, SYSTEM_POWER_OFF and SYSTEM_SUSPEND_DISK. Thanks. -- tejun - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists