www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/10/24/04:45:36

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
Date: Wed, 24 Oct 2001 10:44:29 +0200
From: Corinna Vinschen <vinschen AT redhat DOT com>
To: cygwin-developers AT cygwin DOT com
Subject: Re: Need name and functionality suggestions for a new utility
Message-ID: <20011024104429.A16144@cygbert.vinschen.de>
Reply-To: cygdev <cygwin-developers AT cygwin DOT com>
Mail-Followup-To: cygwin-developers AT cygwin DOT com
References: <EA18B9FA0FE4194AA2B4CDB91F73C0EF08F220 AT itdomain002 DOT itdomain DOT net DOT au>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <EA18B9FA0FE4194AA2B4CDB91F73C0EF08F220@itdomain002.itdomain.net.au>; from robert.collins@itdomain.com.au on Wed, Oct 24, 2001 at 03:54:54PM +1000

On Wed, Oct 24, 2001 at 03:54:54PM +1000, Robert Collins wrote:
> so you're correct, I'm jumping at ghosts. For the record, my ftok() will
> be ok because it uses the inode number - which is the namehash.

...or the file index on NTFS drives.
Excerpt from fhandler_disk_file::fstat_helper():

  /* Assume that if a drive has ACL support it MAY have valid "inodes".
     It definitely does not have valid inodes if it does not have ACL
     support. */
  switch (has_acls () ? GetDriveType (rootdir (root)) : DRIVE_UNKNOWN)
    {
    case DRIVE_FIXED:
    [...]
      buf->st_ino = local.nFileIndexHigh | local.nFileIndexLow;
      break;
    default:
      buf->st_ino = get_namehash ();
      break;
    }

I don't know if that interferes negatively here...


BTW, what about a name for the tool which sounds that prudish and
boring that nobody uses it voluntarily?  

I'm not quite sure if my English is good enough to make such a
choice, but, anyway, what about "cygtestenv" or "cygtesthelper"
or so?  Another thought is, not to announce and not to officially
document a tool.  It's just there, suddenly.  How many people will
actually notice that /bin contains, say, 245 instead of 244 tools?

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

- Raw text -


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