Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 X-Analyze: Velop Mail Shield v0.0.3 Date: Thu, 26 Feb 2004 21:44:20 -0300 (BRT) From: =?ISO-8859-1?Q?Fr=E9d=E9ric_L=2E_W=2E_Meunier?= <1 AT pervalidus DOT net> To: cygwin AT cygwin DOT com Subject: Re: Good news for cygwin ? Re: [smartmontools-devel]Windows port In-Reply-To: <20040227000625.GA4795@redhat.com> Message-ID: References: <403A5C6F DOT 30806 AT t-online DOT de> <20040227000625 DOT GA4795 AT redhat DOT com> X-Archive: encrypt MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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/