Skip to main content
11 events
when toggle format what by license comment
Feb 27, 2020 at 20:28 vote accept Hashim Aziz
Feb 27, 2020 at 20:27 answer added Hashim Aziz timeline score: 1
Nov 24, 2019 at 21:54 comment added Hannu @Hashim, may I suggest that you take the above and compose an answer that suits your question.
Nov 24, 2019 at 21:26 comment added DavidPostill From the cygwin mailing list (06/08/2013): "I decided to no longer maintain grub and hdparm. Upstream grub can no longer be built on Cygwin. Meantime I added support for some use cases of hdparm (AAM, APM, write cache, read lookahead, standby timer, security freeze) to smartctl." posted by Christian Franke, the maintainer of hdparm.
Nov 24, 2019 at 20:42 comment added Tom Yan sg3_utils has an official Windows port. sg_raw of it can be used to send arbitrary SCSI commands including ATA PASSTHROUGH. You can reuse the CDB and so from hdparm with it, albeit dangerous.
Nov 24, 2019 at 20:38 comment added Tom Yan For the record, fdisk we use in Linux is a part of util-linux, even judging by the name you can tell it's probably Linux-specific / relies on parts of the kernel, while smartmontools is supposed to be cross-platform.
Nov 24, 2019 at 20:25 comment added Hannu I am only guessing. Now, have you actually tried fdisk and smartctl? I'm quite confident that the cygwin mailing list or even their FAQ might have the actual answer for you. One more possible reason; there was a version of hdparm, but no-one maintains it -> obsolete. (A human has to make sure it compiles and works as intended, ;-)
Nov 24, 2019 at 20:24 comment added Tom Yan IIRC it makes use of the SG_IO ioctl in the Linux kernel
Nov 24, 2019 at 20:20 comment added Hashim Aziz But what's so unique about hdparm compared to fdisk, smartctl, df, du and the like? All of the latter examples are in the Cygwin repository, usable on my system, and get regular updates.
Nov 24, 2019 at 20:17 comment added Hannu When on Windows software has a totally different way to access what hdparm uses for major parts of it's magic? -> so, not easily ported -> therefore reported as obsolete. Maybe. This might be true for a (major?) portion of the code.
Nov 24, 2019 at 20:13 history asked Hashim Aziz CC BY-SA 4.0