X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Thu, 01 Mar 2007 14:19:13 +0100 To: cygwin AT cygwin DOT com X-UMS: email X-Mailer: TOI Kommunikationscenter V7-7-2 Subject: [ANNOUNCEMENT] New package: hdparm-6.9-1 From: "Christian Franke" Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Message-Id: X-ID: JO4clgZ-Ye+1rZonTNPeDB8xHPF8eaEzKhadKJ015vxu+I6aTGFg67 AT t-dialin DOT net X-TOI-MSGID: d7f7afeb-fd4f-4f54-9003-131df863f47c Reply-To: cygwin AT cygwin DOT com X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com A Cygwin port of hdparm is now part of the Cygwin distribution. Hdparm (http://sourceforge.net/projects/hdparm) is a Linux tool to get/set ATA/SATA drive parameters and driver settings. I have added a HDIO_DRIVE_CMD ioctl emulation layer to provide the drive related command subset of hdparm on Windows. It should work on XP SP2 and 2003 if the driver provides ATA_PASS_THROUGH. It also supports 2000 and XP SP1 if undocumented IDE_PASS_THROUGH is available. I haven't tested it on Vista yet. Examples: hdparm -I /dev/sda -- print disk information and current settings hdparm -M 128 /dev/sda -- set acoustic management to "quiet" hdparm -M 254 /dev/sda -- set acoustic management to "fast" hdparm -S 120 /dev/sdb -- set 2nd disks standby timeout to 10min hdparm -y /dev/sdb -- set 2nd disk to standby mode hdparm -t /dev/sda -- perform disk read timings hdparm --security-freeze /dev/sda -- Freeze security settings (There are still BIOS versions which leave the drive vulnerable) Administrator rights are required to run these commands. Device names and supported command subset: hdparm - get/set hard disk parameters - version v6.9-20070228 (Cygwin) Usage: hdparm [options] [device] Device: /dev/hd[a-z] harddisk 0,1,... /dev/sd[a-z] harddisk 0,1,... /dev/scd[0-9] cd-rom 0,1,... Options: -A set drive read-lookahead flag (0/1) -B set Advanced Power Management setting (1-255) -C check IDE power mode status --debug enable debugging output --direct use O_DIRECT to bypass page cache for timings -D enable/disable drive defect management -f flush buffer cache for device on exit -g display drive geometry -h display terse usage information -H read temperature from drive (Hitachi only) -i display drive identification -I detailed/current information directly from drive --Istdin read identify data from stdin as ASCII hex --Istdout write identify data to stdout as ASCII hex -K set drive keep_features_over_reset flag (0/1) -L set drive doorlock (0/1) (removable harddisks only) -M get/set acoustic management (0-254, 128: quiet, 254: fast) (EXPERIMENTAL) -P set drive prefetch count -q change next setting quietly -s set power-up in standby flag (0/1) -S set standby (spindown) timeout -t perform device read timings -T perform cache read timings -v defaults; same as -g for IDE drives -V display program version and exit immediately -w perform device reset (DANGEROUS) -W set drive write-caching flag (0/1) (DANGEROUS) -X set IDE xfer mode (DANGEROUS) -y put IDE drive in standby mode -Y put IDE drive to sleep -Z disable Seagate auto-powersaving mode --security-freeze Freeze security settings until reset Christian Franke -- To update your installation, click on the "Install Cygwin now" link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. If you have questions or comments, please send them to the Cygwin mailing list. *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: cygwin-announce-unsubscribe-you=yourdomain DOT com AT cygwin DOT com If you need more information on unsubscribing, start reading here: http://sources.redhat.com/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at the above URL. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/