X-Recipient: archive-cygwin@delorie.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:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:content-type; q=dns; s=default; b=WB
	5G9R+GJMMFC8TV/yVhdFN/UXL/sp2UN5uZUxpxCM0ayxSuBNHjDE1PJLYTKGuoRG
	WBvnppeTJyraHEVHfFFWgOVIRQC3wXMS/sk/mieXGbCFQf6jwFeiP5F+RRRUei9r
	KgtCKY8NJBeGuaBGjQiAxWYEnPLBwiRZu3oKgaKLo=
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:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:content-type; s=default; bh=YklUNNvS
	3KQsBdR/Fu+hKz0lorU=; b=oQrfjcq7dW8RrjmOz3/gBfD0LzPpk7c/wHE1dtZg
	Xa7s3hmrpc6Byt8ILhEEx8WcKlpHatkr856htmwyzCLpkxg8ExQUlEzNOT5j5JRN
	7vKl+1l8k42RM0ISt7GHVm+M0tJug/rTIwh5KhULNa3xlUEw/VxO7p2gmfZDapV7
	HQw=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-lb0-f179.google.com
MIME-Version: 1.0
X-Received: by 10.152.203.193 with SMTP id ks1mr29620653lac.0.1391515748728; Tue, 04 Feb 2014 04:09:08 -0800 (PST)
In-Reply-To: <20140131203738.GA8707@calimero.vinschen.de>
References: <20140131203738.GA8707@calimero.vinschen.de>
Date: Tue, 4 Feb 2014 13:09:08 +0100
Message-ID: <CAKw7uVgPjvZWKr9mAt=sM_ZKDE2TtKXi=2cqFRDVcNczpbBqaw@mail.gmail.com>
Subject: Re: How big are your /etc/passwd and /etc/group files?
From: =?UTF-8?Q?V=C3=A1clav_Zeman?= <vhaisman@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes

On 31 January 2014 21:37, Corinna Vinschen wrote:
> 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.

`--> du -h /etc/passwd /etc/group
2.9M    /etc/passwd
4.0K    /etc/group

I have just generated it using the recommended way at the time, few
years ago. I could probably trim it down to just my own record.

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

-- 
VZ

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

