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 Message-ID: <80575AFA5F0DD31197CE00805F650D767B2260@wilber.adroit.com> From: "Robinow, David" To: cygwin AT cygwin DOT com Subject: RE: how to find utilities? is there a hostid command? Date: Wed, 17 Jul 2002 13:19:12 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" > From: Ralf Hauser [mailto:ralfhauser AT gmx DOT ch] > Subject: how to find utilities? is there a hostid command? > > Apparently, a man page for hostid.1 already exists since 2001. > My questions therefore are: > 1) Is the corresponding command available within cygwin? If > so, in which > part? No. > 2) How can I find out whether some tools/commands are available under > cygwin in a deterministic way without downloading and installing > everything? E.g. the website http://cygwin.com/ doesn't > appear to have a search function for this purpose. I'm surprised by this last statement. The link to "find a package or file in the cygwin release" is rather prominently displayed at http://cygwin.com. How did you miss this? The link sends you to http://cygwin.com/packages/ which lets you query. You should then find that hostid.c exists in the sh-utils packages. It's not immediately clear why there's no hostid.exe. The answer is that configure flunks the test for "gethostid" and thus doesn't build it. I have no idea if there's a reason why "gethostid" is not implemented. If this interests you, you might search the mailing list archives. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/