delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/09/07:03:28

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Thu, 9 Jan 2003 13:02:54 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: /etc/group, /etc/passwd usage by cygwin layer ?
Message-ID: <20030109130254.K23921@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <OF369087C6 DOT CE0AEC18-ONC1256CA9 DOT 003721CB-C1256CA9 DOT 00399372 AT diamond DOT philips DOT com>
Mime-Version: 1.0
In-Reply-To: <OF369087C6.CE0AEC18-ONC1256CA9.003721CB-C1256CA9.00399372@diamond.philips.com>
User-Agent: Mutt/1.3.22.1i

On Thu, Jan 09, 2003 at 11:28:04AM +0100, jurgen DOT defurne AT philips DOT com wrote:
> Hello,
> 
> Are the /etc/group and /etc/passwd files referenced much by cygwin while
> executing programs or doing file accesses ?

Yes, the content of both files is read into memory.  Cygwin needs the
information, especially name, u/gid and SID.

> The only thing I changed yesterday, was copying a new group file, created
> by mkgroup -d. This file is 1669895 bytes large (yes, that is 1.59 Mb), it
> contains 22080 group entries.

*gasp*

> Do you think this should be filed as a bug ?

It doesn't count as a bug but it's a well known problem since... well...
3 years or so.  It's way faster than it was back then but we still don't
have an optimal solution.

Workaround:  Don't use such big files.

Corinna

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

--
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/

- Raw text -


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