Artur Szymiec | 4 Nov 2007 12:47
Picon

Debian Sysvinit hdd down patch for libata


Gretings all,

please find in attachment a modified version of hdd.c
and also 67_init_hddown.dpatch which makes Debian halt
command comply with http://linux-ata.org/shutdown.html.
I've tested this patch on my system with 2 hdd's - one SATA and one PATA.
Please let me know it this patch is going to be included in next release.

Best regards
Artur Szymiec

--
--------------------------------------------------------------------------
Registered User No 397465
Linux Debian 2.6.21-2-k7 i686 AMD Athlon(tm) XP 2800+
Conquer your Desktop! http://www.spreadkde.org/try_kde
Reclaim Your Inbox!   http://www.mozilla.org/products/thunderbird/
--------------------------------------------------------------------------
Attachment (hddown.c): text/x-csrc, 4066 bytes
#! /bin/sh /usr/share/dpatch/dpatch-run
# 67_init_hddown.dpatch by Sebastian Reichelt
#
# Make sure SATA disks are powered down as well as IDE disks.  This
# patch could use some more work to make it more dynamic when
# detecting SATA/SCSI disks.  Closes: #348172

 <at> DPATCH <at> 
(Continue reading)


Gmane