delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/20/23:38:01

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Analyze: Velop Mail Shield v0.0.3
Date: Sun, 21 Sep 2003 00:37:45 -0300 (E. South America Standard Time)
From: =?ISO-8859-1?Q?Fr=E9d=E9ric_L=2E_W=2E_Meunier?= <0 AT pervalidus DOT tk>
To: cygwin AT cygwin DOT com
Subject: smartmontools ?
Message-ID: <Pine.WNT.4.58.0309210013510.160@pervalidus>
X-X-Sender: fredlwm AT imap DOT fastmail DOT fm
MIME-Version: 1.0

I wonder it anyone has any plans to port it. Even the
commercial S.M.A.R.T. suites for Windows aren't that good. I
tried all. It'd be a nice addition, really.

Unfortunately I'm not (yet) a programmer, still know very
little about Cygwin, but got it to compile removing some code
that may be needed but failed (like missing scsi/scsi_ioctl.h).
At least --help worked. I don't know if major changes would be
needed to at least support IDE drives.

Bruce Allen (the author) removed linux/hdreg.h code (in CVS,
not 5.0-18) to make it easier porting to other OS.

BTW, how do I access /dev/hda under Cygwin or Windows ? Are
there any devices for hard drives ?

I tried with my floppy drive and a partition just as a test to
see if it returned anything, and it did.

bash-2.05b$ ./smartctl.exe -a /dev/fd0
smartctl version 5.19 Copyright (C) 2002-3 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

Error ATA GET HD Identity Failed: Invalid argument
Smartctl: Hard Drive Read Identity Failed

A mandatory SMART command has failed: exiting. To continue, use
the -T option to set the tolerance level to 'permissive'

bash-2.05b$ ./smartctl.exe /c
smartctl version 5.19 Copyright (C) 2002-3 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

Error ATA GET HD Identity Failed: Invalid argument
Smartctl: Hard Drive Read Identity Failed

A mandatory SMART command has failed: exiting. To continue, use
the -T option to set the tolerance level to 'permissive'

bash-2.05b$ ./smartctl.exe /a
smartctl version 5.19 Copyright (C) 2002-3 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

Smartctl open device: /a failed: no medium

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019