Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT cygwin DOT com Delivered-To: mailing list cygwin-developers AT cygwin DOT com Date: Sat, 8 Mar 2003 00:04:21 -0500 From: Christopher Faylor To: cygwin-developers AT cygwin DOT com Subject: gethostid anyone? Message-ID: <20030308050421.GA27025@redhat.com> Reply-To: cygwin-developers AT cygwin DOT com Mail-Followup-To: cygwin-developers AT cygwin DOT com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.1i Anyone interested in implementing a working gethostid? It should be trivial to have it returned a munged IP address like linux but it might be more interesting if it returned something more unique than that. I was playing around with uuidgen to see if that could be used to generate something unique but it creates too many bits. I thought it might be interesting to use it to seed a /etc/hostid file, though. Anyway, this would be a good project for anyone interested in contributing something. It would also remove an XFAIL from the test suite. cgf