Mail Archives: cygwin/2004/02/26/19:44:37
On Thu, 26 Feb 2004, Christopher Faylor wrote:
> On Thu, Feb 26, 2004 at 08:09:54PM -0300, Fr?d?ric L. W. Meunier wrote:
> >smartmontools now has support for Cygwin in CVS. There's a full
> >package I made for 1.5.7 (just missed a postinstall script for
> >/etc/smartd.conf - will be in 5.30) that can be installed
> >through setup.exe.
> >
> >And a smartctl binary compiled with -mno-cygwin.
>
> ...which would make it not particularly good news for cygwin...
Correct, but I consider it good news if you have Cygwin, don't
have MinGW, can't afford MSVC, and also want to make a native
Windows binary.
> -mno-cygwin means "no cygwin" which means that cygwin is not
> involved in this port at all. You used cygwin's compiler to
> build it but you cut cygwin out of the equation by specifying
> -mno-cygwin, making it essentially a native windows port like
> you'd get if you used MSVC.
Yes, but that was only to provide a smartctl binary for non
Cygwin users. smartd hasn't yet been ported by Christian
because -mno-cygwin and MSVC lack at least syslog.h, but it
works with Cygwin.
I think the only problems are those listed at
http://smartmontools.sourceforge.net/ , and:
1- According to Christian, it seems you can't monitor 2 or more
hard drives at the same time.
I can only test on XP Professional with a single ATA drive.
2- smartd logs everything in Event Viewer.
3- Because Cygwin doesn't have mailx or nail, the e-mail
facility doesn't work. Bruce said that a script using -M may
make it work. Will see.
May I ask why /bin/mail isn't in Cygwin ? Nobody volunteered ?
http://www.cygwin.com/ml/cygwin/2003-07/msg00460.html doesn't
help.
But the good news is the initial Cygwin port. I had tried 7
other Windows S.M.A.R.T. tools and suites (free and
commercial), and IMO none were that good or actively developed
/ maintained.
--
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 -