delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/01/31/15:38:00

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:mime-version:content-type; q=dns; s=default; b=IttqeqpV/xErypww
1GbmWyhUDsfdaGG7Fn4c0o4G06He30nnU05EV53aT2NTqH1U5MB76Pl4SbayrkXL
PonbikK4Vi1Y4Zwc7pGyqTJbFw8zhWnhUrgerJuU+4fUN5kAAVGmqQIcepI3c1ZK
Jcs2S4MgX+BTh3RQu9NHPJocShQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:mime-version:content-type; s=default; bh=rCZSgTMvYxvrBrGJ9Pr0GO
UFoyM=; b=Zn6+Mf/C3VrsRkNKI98YOZrP3lRjCF8HLzrL0NjnbQKnet2fySc1fs
/o+MbuUFrZFydsvxvee3NtbBraAaFRLRDZpEkjVrdZO4h17H2NZA8Dnfi6fYEOJ4
oV1Ol4xIAOEtVYyX7iO4KCGViOyxkwTEZQW82AomY6Rf2MRG4t+kk=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-6.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Fri, 31 Jan 2014 21:37:38 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: How big are your /etc/passwd and /etc/group files?
Message-ID: <20140131203738.GA8707@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
MIME-Version: 1.0
User-Agent: Mutt/1.5.21 (2010-09-15)

--IJpNTDwzlM2Ie8A6
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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).

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--IJpNTDwzlM2Ie8A6
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJS7AmSAAoJEPU2Bp2uRE+gRwsP/1PnZ+qz755v/WJ2mPmHGMTI
YPVBXF5TR26MRbBtoxVa5Uer4qMYkQRb8h+kpBJjimVCeO3zRcvSGdhs7Fc3vqK9
UGvS+bOS8B1oAdUjvMTKNIkVvHrg1+woqSKPKqIdM5JdJOTK+6OKbkz9EASntPLm
HI3Apw7ZKyH3hC5p8fChQ1BxX0HfxZ4Pb2TzrF6dyH/PGww1jajvlmR6NuF3LLfX
Io0IMfQrp41omfdzGSbTzou9W1Y5y/hNGPLrC0bagRkKmgGxNtCLId6zYd/A5eBp
IyXr5kjOB0x108KSb5tuRVrdUP5Cy2RiRQDQqu3iJ96MthWOghm7EONUyiSzyKKG
M6+C4vy75F6quZfcW1Q689kNwHfXI/7uOmTGoxBn9jmTuatKTMSooEDAL8Hkravs
yLxtLMkliau0lPAzV+cjd5novH3h0vRgCGyISdbjnHhmSS6nOyenbmLYdtK++hsY
wwsNYq7CN/WCl5KArPyQBxpiCOEM7Z8SSEfLN7DlpTl0dh+ugC6tP+FZaiA3Tk5d
mwAHl24Cf7I47y2HPFrM+y7QFBGGeP8OLAnrEip56toBoXLL/4tAqQc/G1jhU1uw
/kPOH4OxHMGBVsx/qGmeWeT9SgZIR+CJvGZF/jQGfeUBRH0pY5XQDg9DvZd+nPo1
nNvucbzZufxkKHdB3vP5
=50l+
-----END PGP SIGNATURE-----

--IJpNTDwzlM2Ie8A6--

- Raw text -


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