Thanks,

I found out how to prune that file without loosing my needed information.

Jurgen










Corinna Vinschen <[EMAIL PROTECTED]>
Sent by: 
[EMAIL PROTECTED]
01/09/2003 01:02 PM
Please respond to cygwin

 
        To:     [EMAIL PROTECTED]
        cc:     (bcc: Jurgen Defurne/BRG/CE/PHILIPS)
        Subject:        Re: /etc/group, /etc/passwd usage by cygwin layer ?
        Classification: 



On Thu, Jan 09, 2003 at 11:28:04AM +0100, [EMAIL PROTECTED] 
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:[EMAIL PROTECTED]
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/





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

Reply via email to