How big are your /etc/passwd and /etc/group files?

Corinna Vinschen corinna-cygwin@cygwin.com
Fri Jan 31 20:37:00 GMT 2014


Hi guys,

as you may or may not have read, I'm working on a patch which drops the
need to maintain /etc/passwd and /etc/group files, but rather loads all
required information from Windows (either SAM or AD).

It's all working pretty nicely already, but there's one part of my
changes which is a bit, let's say, questionable in terms of memory
usage, *iff* a user decides to stick to the passwd and group files.

To learn what I have to struggle with in this situation, I'd like to
know this:

  Is anybody here who's using /etc/passwd and/or group files
  of more than 16K in size?

If so, please reply to this thread with the size of your files.


Thanks in advance,
Corinna


P.S:  As a sidenote, if you think Cygwin is slow, one factor *might* be
      the size of your passwd and group files.  Right now, these files
      have to be loaded anew in each exec'ed process.
      This is supposed to go away with my patch, but big passwd and
      group files would still have an impact when starting the first
      Cygwin process (mintty, for instance).

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20140131/68be7a06/attachment.sig>


More information about the Cygwin mailing list