delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/13/11:20:30

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:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=yUQpaPC/x1KTH8Hr
HStyQCMcDl8ustaV0lGJ3hSs2T+5iCPbXq5D6F3Fu0APghwcKBqxSMoUzJucG233
APJTJ3Tm/i+/JyjWjJQaPDA0h8jvbCtfV4eV3Zldoz0OJ7+cO0Z5ub7GPx2o3ptg
AtdhAaGs+bccS8KnaZ36jSW2Lxw=
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:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=buWnoYyczof1WusD6WlW4t
+pi/w=; b=iaWsA7YqOhqR4rRpqyhiIBcZvu+aoNVrRAfPURZbrCf8AWEnDxi3SC
CC7xsTfBwZHN7q0JAwa6tRh/f0H0KKE9CmVfaFA/sG6SOQnz1Xa+GczflqNfH0LJ
4LjqJ8FqEw6k7G+/gcz68N0j5FfD2jws2vTbk7Yfx5DclF03y/Njg=
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=2.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtpback.ht-systems.ru
Date: Thu, 13 Feb 2014 20:07:00 +0400
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: Andrey Repin <cygwin AT cygwin DOT com>
Message-ID: <952874943.20140213200700@mtu-net.ru>
To: Steven Penny <svnpenn AT gmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: Testers needed: New passwd/group handling in Cygwin
In-Reply-To: <CAAXzdLVtMzdNDdm9-4puB1jJngjONS=Wbq3TXmDrJKDHcBJ5Ow@mail.gmail.com>
References: <20140213143849 DOT GH2246 AT calimero DOT vinschen DOT de> <CAAXzdLVtMzdNDdm9-4puB1jJngjONS=Wbq3TXmDrJKDHcBJ5Ow AT mail DOT gmail DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Steven Penny!

>> For as long as Cygwin has existed, it has stored user and group
>> information in /etc/passwd and /etc/group files.  Under the assumption
>> that these files would never be too large, the first process in a
>> process tree, as well as every execing process within the tree would
>> parse them into structures in memory.  Thus every Cygwin process would
>> contain an expanded copy of the full information from /etc/passwd and
>> /etc/group.

> Stellar writeup! I read the whole post. I am happy to help, but I have couple of
> questions

> - How will this affect "normal" users, that is to say one admin user on one
>   computer with no domain or networking? Will it be better to use this new
>   system or keep /etc/passwd?

Largely doesn't matter. Would probably simplify new installs once this change
is tested and deemed stable enough to be the default way of going with it.

> - Do you have any benchmarks available? Or instructions on how we could test the
>   speed of the new system?

In the end of the day, this should affect program startup times. But in home
environment, the difference will be negligible.
The main point of testing is consistency and general usability of a new
feature, as I see it.


--
WBR,
Andrey Repin (anrdaemon AT yandex DOT ru) 13.02.2014, <20:03>

Sorry for my terrible english...


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

- Raw text -


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